- Notifications
You must be signed in to change notification settings - Fork1.1k
Commit897286f
authored
test: fix flake in scaletest/workspaceupdates/TestRun (#20773)
Closescoder/internal#1127In the workspace updates scaletest load generator, we end the test once all clients have seen a workspace update for their workspace. These workspace updates are generated when the workspace is created, NOT when the workspace build has finished. This means when the runner goes to clean up the workspaces, they may still be building. The runner attempts to address this by cancelling the build, but that fails with a 403 since the runner users don't have permission.The fix is to simply always wait for the build to finish, regardless of whether we were able to successfully cancel it.In this test it's probably faster to just wait for the build to finish then the overhead of cancelling it, so that's what I've gone with here.1 parent5ee39e8 commit897286f
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 150 | + | |
| 151 | + | |
155 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments
Comments
(0)