BUT is failing because of TestFrameworkTestRun.
PR is merged. Marking bug as fixed.
Adding artifical sleep of 10 seconds fixes the test case. Seems like we need to add retry logic.
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.