- Notifications
You must be signed in to change notification settings - Fork1.1k
Commit1961252
authored
chore(coderd/provisionerdserver): address flake in TestServer_ExpirePrebuildsSessionToken (#20648)
Addresses a flake seen locally by@mafredri:```panic: interface conversion: proto.isAcquiredJob_Type is nil, not *proto.AcquiredJob_WorkspaceBuild_ [recovered] panic: interface conversion: proto.isAcquiredJob_Type is nil, not *proto.AcquiredJob_WorkspaceBuild_goroutine 77 [running]:testing.tRunner.func1.2({0x35ba440, 0xc000f15620}) /usr/local/go/src/testing/testing.go:1734 +0x21ctesting.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35epanic({0x35ba440?, 0xc000f15620?}) /usr/local/go/src/runtime/panic.go:792 +0x132github.com/coder/coder/v2/coderd/provisionerdserver_test.TestServer_ExpirePrebuildsSessionToken(0xc00010d500) /home/coder/coder/coderd/provisionerdserver/provisionerdserver_test.go:4128 +0xc4btesting.tRunner(0xc00010d500, 0x4bd8450) /usr/local/go/src/testing/testing.go:1792 +0xf4created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:1851 +0x413FAIL github.com/coder/coder/v2/coderd/provisionerdserver 20.830sFAIL```It's unclear why this would happen in the first place.1 parent11f2411 commit1961252
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4091 | 4091 | | |
4092 | 4092 | | |
4093 | 4093 | | |
| 4094 | + | |
4094 | 4095 | | |
4095 | 4096 | | |
4096 | 4097 | | |
| |||
0 commit comments
Comments
(0)