Skip to content

Conversation

@mfeurer
Copy link
Collaborator

@mfeurer mfeurer commented Jul 6, 2020

Currently, a lot of unit tests are failing because the server cannot process run traces fast enough. This PR increases the time to wait for a trace to reduce the amount of unit tests failing when using continuous integration.

by waiting longer for the server to process run traces, and by
querying the server less frequently for new run traces.
@mfeurer mfeurer requested a review from PGijsbers July 6, 2020 12:31
@PGijsbers
Copy link
Collaborator

Looks reasonable to me. Waiting for CI reports.

@mfeurer
Copy link
Collaborator Author

mfeurer commented Jul 6, 2020

Looks reasonable to me. Waiting for CI reports.

Doesn't work as well as expected. It fails at one instance where _wait_for_processed_run was already waiting for 400s. I'll restart that one.

mfeurer added 2 commits July 6, 2020 15:50
actually, we only wait for evaluations to ensure that the trace
is processed by the server. Therefore, we can also simply wait
for the trace being available instead of relying on the proxy
indicator of evaluations being available.
@mfeurer
Copy link
Collaborator Author

mfeurer commented Jul 6, 2020

Okay, with the latest change it didn't fail for a missing trace any more (there only was one issue with an illegal dataset transition which is not within the scope of this PR which I reran). So in my opinion this is good. (in case travis appears to not be done, please click on the travis link to get to travis-ci.org. It's actually done, but this is not reflected on github)

@PGijsbers
Copy link
Collaborator

Annoying, I've had bad connection between travis/github in my gama repo as well.

@PGijsbers PGijsbers merged commit 6b245bd into develop Jul 6, 2020
@PGijsbers PGijsbers deleted the reduce_test_failures branch July 6, 2020 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants