Skip to content

Conversation

@pippobaudos
Copy link

No description provided.

@templedf
Copy link
Contributor

templedf commented Jul 1, 2016

Looks like the right fix, but can you simplify the logic a little, i.e. (len != 2) && (len != 4)?

@pippobaudos pippobaudos closed this Jul 1, 2016
@pippobaudos pippobaudos deleted the HADOOP-13320 branch July 1, 2016 16:50
@pippobaudos pippobaudos restored the HADOOP-13320 branch July 1, 2016 16:51
@pippobaudos pippobaudos reopened this Jul 1, 2016
@pippobaudos
Copy link
Author

Thanks @templedf I have updated the pull request following the suggestion

@asfgit asfgit closed this in 9d46a49 Jul 7, 2016
shanthoosh added a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
Changes:

* Moved all states locally within the test methods(no global state, since tests can be run parallely).
* Increased the timeout waiting for all task threads to finish.
* Changed message chooser mock to return null at the end(When EOS message is used a final msg, during some runs task.process gets invoked more than once for it. This is due to test setup, other tests within this test class also do the same.)

How was it verified:

Ran the test class repeatedly to check for failures(there were none) using following script.

`
while [ $i -lt 30 ] do     sleep 3;     i=`expr $i + 1`;     ./gradlew :samza-core:clean :samza-core:test -Dtest.single=TestAsyncRunLoop  done
`

Author: Shanthoosh Venkataraman <[email protected]>

Reviewers: Xinyu Liu <[email protected]>

Closes apache#108 from shanthoosh/fix-async-run-loop-tests-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants