Open florianlefeuvre opened 3 months ago
@florianlefeuvre
As a first guess I can assume TESTOMATIO_PROCEED=1
is used after_script
so it completely blocks finishing run as it specifies that run should be kept
Move this variable to script
so it would be used only on that section.
If this doesn't help please add the following variable
TESTOMATIO_DISABLE_BATCH_UPLOAD=1
This disables async processing of jobs which can also cause the similar issues
In the next Testomat.io update we will handle such cases so TESTOMATIO_DISABLE_BATCH_UPLOAD
won't be needed
I re-checked this issue. Latest reporter 1.5.0 should handle this case correctly.
Hello @DavertMik,
After upgrading to latest reporter v1.5.0
, we see no change in the behavior.
The run is clearly indicated as finished on CI :
🤩 Testomat.io Reporter v1.5.0
Finishing Run on Testomat.io...
[TESTOMATIO] Pipes: Testomatio Reporter
[TESTOMATIO] Testomatio Reporter v1.5.0
Run dbeaec1c was finished
Despite this, in testomat.io, the run remains in progress :
@florianlefeuvre could you reporoduce this problem locally?
Hi @MathieuJouis @florianlefeuvre! Does the issue still reproduce?
Hi @TetianaKhomenko ,
Unfortunately yes.
I tried with version 1.5.1
of the reporter, but the problem persists
Describe the bug At work we have a Cypress stack using Gherkin and your reporter, and our tests are launched in parallel through
cypress-parallel
dependency.Everything works fine until we try to finish the runs through
npx start-test-run --finish
. This command seems to work as intended in the logs (it correctly respondsRun <run-id> was finished
), but on Testomat.io the run doesn't finish (until the 30 minutes timeout setup in our project settings).To Reproduce We have a
.gitlab-ci.yml
with atest:cypress
job containing :Exemple of script that can be launched through package.json :
Expected behavior Tests runs are launched in parallel (using different threads). When the job finishes the after_script launches
npx start-test-run --finish
, then the tests run on testomat.io should be flagged as finished. Instead, test run is still pending and finishes with a 30 minutes timeout.Screenshots
Additional context We didn't have this issue before. It appeared weeks ago (despite not having updated anything in our stack). We then did try to update the reporter dependency (to 1.4.6) but it didn't help.