If test-Headliner.test_HeadlinerRequestError is isolated and ran alone, it causes cfx report:
"1 of 2 tests passed.
The following tests failed:
"
However, the test has ONLY one assert and there should be ONLY one test evaluated.
This behavior disappears if server response is set to 200 instead of 500 here:
response.setStatusLine(request.httpVersion, 500, "Server Error");
Furthermore, this behavior is only seen on nightly with both 1.14 and 1.15 versions of SDK.
I attempted to hunt that through sdk/test/httpd, but with little success so far.
I do suspect that the issue is NOT caused by addon code.
If test-Headliner.test_HeadlinerRequestError is isolated and ran alone, it causes cfx report: "1 of 2 tests passed. The following tests failed: " However, the test has ONLY one assert and there should be ONLY one test evaluated. This behavior disappears if server response is set to 200 instead of 500 here: response.setStatusLine(request.httpVersion, 500, "Server Error");
Furthermore, this behavior is only seen on nightly with both 1.14 and 1.15 versions of SDK. I attempted to hunt that through sdk/test/httpd, but with little success so far. I do suspect that the issue is NOT caused by addon code.