- Notifications
You must be signed in to change notification settings - Fork926
Commit73f5af8
authored
test: fix TestAgent_Lifecycle/ShutdownScriptOnce to wait for stats (#17387)
fixes:coder/internal#576TestAgent_Lifecycle/ShutdownScriptOnce hits error logs which cause testfailures. These logs are legit errors and have to do with shutting downthe agent before it has fully come up.This PR changes the test to wait for the agent to send stats (a goodindicator that it's fully up, and beyond the errors that have triggeredtest failures in past) before closing it.1 parentd8fcb06 commit73f5af8
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1650 | 1650 |
| |
1651 | 1651 |
| |
1652 | 1652 |
| |
| 1653 | + | |
1653 | 1654 |
| |
1654 | 1655 |
| |
| 1656 | + | |
1655 | 1657 |
| |
1656 | 1658 |
| |
1657 | 1659 |
| |
| |||
1670 | 1672 |
| |
1671 | 1673 |
| |
1672 | 1674 |
| |
1673 |
| - | |
| 1675 | + | |
1674 | 1676 |
| |
1675 | 1677 |
| |
1676 | 1678 |
| |
| |||
1695 | 1697 |
| |
1696 | 1698 |
| |
1697 | 1699 |
| |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
1698 | 1705 |
| |
1699 | 1706 |
| |
1700 | 1707 |
| |
|
0 commit comments
Comments
(0)