Commit c1cbec7
committed
Avoid race condition on unit-tests
Use ordered diff for `get_bundles_latest_version` when raising
to avoid race condition failures such as:
https://github.com/release-engineering/iib/actions/runs/20110179089/job/57705081674?pr=1276
Signed-off-by: Jonathan Gangi <jgangi@redhat.com>1 parent e98e9e4 commit c1cbec7
File tree
2 files changed
+8
-9
lines changed- iib/workers/tasks
- tests/test_workers/test_tasks
2 files changed
+8
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
| 628 | + | |
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| |||
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
1085 | 1086 | | |
1086 | 1087 | | |
1087 | 1088 | | |
1088 | | - | |
| 1089 | + | |
1089 | 1090 | | |
1090 | 1091 | | |
1091 | 1092 | | |
| |||
1110 | 1111 | | |
1111 | 1112 | | |
1112 | 1113 | | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
1119 | 1118 | | |
1120 | 1119 | | |
1121 | 1120 | | |
1122 | 1121 | | |
1123 | 1122 | | |
1124 | | - | |
| 1123 | + | |
1125 | 1124 | | |
0 commit comments