Commit 46bbee5
authored
fix: Make printWarningIfArgumentIsDeprecated unit test deterministic (#633)
## Description:
<!-- Describe this change, how it works, and the motivation behind it.
-->
`printWarningIfArgumentIsDeprecated` is flaky:
https://app.circleci.com/pipelines/github/kurtosis-tech/kurtosis/3488/workflows/72a67e18-3fae-4734-b97b-47f278c39b3a/jobs/42730
This is because the test relies on a given order of iteration of
`sync.Map`, that is not deterministic and will yield different order
from time to time.
## Is this change user facing?
NO
<!-- If yes, please add the "user facing" label to the PR -->
<!-- If yes, don't forget to include docs changes where relevant -->
## References (if applicable):
<!-- Add relevant Github Issues, Discord threads, or other helpful
information. -->1 parent 0e212c9 commit 46bbee5
File tree
1 file changed
+8
-7
lines changed- core/server/api_container/server/startosis_engine/kurtosis_starlark_framework
1 file changed
+8
-7
lines changedLines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
0 commit comments