BUT is failing because of TestFrameworkTestRun.

Description

Recent couple of runs of BUT have failed for test case TestFrameworkTestRun#testAppWithTxTimeout
Failure links:
https://builds.cask.co/browse/CDAP-BUT-RCU-2721
https://builds.cask.co/browse/CDAP-BUT-RCU-2722

Release Notes

None

Activity

Show:
Sagar Kapare
February 25, 2021, 4:12 PM

PR is merged. Marking bug as fixed.

Sagar Kapare
February 24, 2021, 6:28 PM

Sagar Kapare
February 24, 2021, 6:22 PM

Adding artifical sleep of 10 seconds fixes the test case. Seems like we need to add retry logic.

Sagar Kapare
February 24, 2021, 5:02 PM

I am able to reproduce the failures locally too through intellij. Seems like for both these test failures onFinish method of HttpContentProducer https://github.com/cdapio/cdap/blob/develop/cdap-unit-test/src/test/java/io/cdap/cdap/test/app/AppWithCustomTx.java#L527 is not getting called resulting in these failures.

Fixed

Assignee

Sagar Kapare

Reporter

Sagar Kapare

Labels

None

Docs Impact

None

UX Impact

None

Fix versions

Affects versions

Priority

Blocker