samza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [samza] lakshmi-manasa-g opened a new pull request #1298: SAMZA-2476:Fix flaky tests in TestAzureBlobOutputStream
Date Fri, 28 Feb 2020 19:03:26 GMT
lakshmi-manasa-g opened a new pull request #1298: SAMZA-2476:Fix flaky tests in TestAzureBlobOutputStream
URL: https://github.com/apache/samza/pull/1298
 
 
   Symptom:
       Travis builds occasionally fail with org.mockito.exceptions.misusing.UnfinishedStubbingException
for org.apache.samza.system.azureblob.avro.TestAzureBlobOutputStream.testCloseMultipleBlocks.

   
   Cause: 
   Seems to be due to using PowerMockito.doAnswer for mocking com.azure.storage.blob.specialized.BlockBlobAsyncClient.commitBlockListWithResponse
   
   Changes:
   pull call to commitBlockListWithResponse into a package private method of AzureBlobOutputStream
and verify that method.
   
   Tests: 
   Rerun of TestAzureBlobOutputStream in original code cause 240 failures in 10K runs
   Rerun of TestAzureBlobOutputStream with this fix causes 0 failures in 10K runs

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message