Skip to content
Permalink
Browse files
[NO ISSUE][TEST] increase result sender thread exit wait time
- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Increase the time to wait for the result sender thread
  to exit from 5 to 30 seconds to avoid intermittent test
  failures.

Change-Id: If675fd655519a23eb0e56d59d6680a36c0832b3b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/7763
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Hussain Towaileb <hussainht@gmail.com>
  • Loading branch information
mhubail committed Aug 28, 2020
1 parent 10d4489 commit 4121679dbecae92d6e835a985aad5b6da5ae3dc6
Showing 1 changed file with 1 addition and 1 deletion.
@@ -58,7 +58,7 @@ public void tearDown() throws Exception {
public void resultStreamingFailureTest() throws Exception {
queryAndDropConnection();
// allow result sender to terminate and ensure no leaks
Span timeout = Span.start(5, TimeUnit.SECONDS);
Span timeout = Span.start(30, TimeUnit.SECONDS);
while (!timeout.elapsed()) {
String threadDump = ThreadDumpUtil.takeDumpString();
if (!threadDump.contains(ResultPartitionReader.class.getName())) {

0 comments on commit 4121679

Please sign in to comment.