- Notifications
You must be signed in to change notification settings - Fork928
Commit9cf4e7f
authored
fix: prevent agent_test.go from failing on error logs (#11909)
We're failing tests on error logs like this:https://github.com/coder/coder/actions/runs/7706053882/job/21000984583Unfortunately, the error we hit, when the underlying connection is closed, is unexported, so we can't specifically ignore it.Part of the issue is that agent.Close() doesn't wait for these goroutines to complete before returning, so the test harness proceeds to close the connection. This looks to our product code like the network connection failing. It would be possible to fix this, but just doesn't seem worth it for the extra insurance of catching other error logs in these tests.1 parentd3983e4 commit9cf4e7f
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
| |||
2028 | 2027 |
| |
2029 | 2028 |
| |
2030 | 2029 |
| |
2031 |
| - | |
2032 |
| - | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
2033 | 2033 |
| |
2034 | 2034 |
| |
2035 | 2035 |
| |
|
0 commit comments
Comments
(0)