-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[usage] Fix querying workspace instances to use startedTime existence to filter #10778
Conversation
} | ||
|
||
expectedRuntime := instances[0].WorkspaceRuntimeSeconds(scenarioRunTime) + instances[1].WorkspaceRuntimeSeconds(scenarioRunTime) | ||
|
||
return Scenario{ | ||
Name: "one team with one workspace", | ||
Name: "oen team with one workspace", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo here
The build is failing on the This was pointed out as a flaky test last week (see internal discussion). |
Something is off with werft. The build it links to is actually not the latest (ID 2). Latest is https://werft.gitpod-dev.com/job/gitpod-build-mp-usage-fix-query.3/raw which passes |
18b6f41
to
c4e836e
Compare
I think there is still an intermittent problem with that test however (happened to me once last week and to @akosyakov too). |
/unhold |
Description
The underlying query used
creationTime
to validate the record should be included but in #10642 (comment) it was pointed out that should not be the case, andstartedTime
should be used instead.The rest of the changes are to tests, and streamlining test object creation.
Related Issue(s)
Fixes #10642
How to test
Unit tests
Release Notes
Documentation
NONE
Werft options: