Commit ba95ac2
committed
fix: make sure mutable test apps don't clash
The mock server is stateful and with multiple tests running either after
another (was getting issues with hello world being deployed when it
shouldn't have been), and also with parallel workers, I think it's
better we scope each test with their own unique hello_world app name.
`test_app` remains non-unique - it needs to be expected to be there (I
guess I could put it in the context, but it doesn't need to be yet so
🤷).
Other alternative was resetting the mock DB but I figured that might
lead to race conditions and it was better if this stuff was just as
idempotent as possible1 parent 22ed365 commit ba95ac2
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | | - | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
0 commit comments