- Notifications
You must be signed in to change notification settings - Fork675
Commit19fde8e
committed
fix: extend wait timeout for test_delete_user()
Have been seeing intermittent failures of the test_delete_user()functional test. Have made the following changes to hopefully resolvethe issue and if it still fails to know better why the failureoccurred.* Extend the wait timeout for test_delete_user() from 30 to 60 tries of 0.5 seconds each.* Modify wait_for_sidekiq() to return True if sidekiq process terminated. Return False if the timeout expired.* Modify wait_for_sidekiq() to loop through all processes instead of assuming there is only one process. If all processes are not busy then return.* Modify wait_for_sidekiq() to sleep at least once before checking for processes being busy.* Check for True being returned in test_delete_user() call to wait_for_sidekiq()1 parent2b29776 commit19fde8e
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| |||
0 commit comments
Comments
(0)