Commit 708b376
committed
fix(test): corrigir race condition no teste de persistência do swarm
Teste 'save and load state from disk' agora aguarda _pendingSave antes
de chamar _saveToDisk(), evitando escrita concorrente que corrompia JSON
(SyntaxError: Unexpected end of JSON input no CI)1 parent c6a80fe commit 708b376
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
950 | 950 | | |
951 | 951 | | |
952 | 952 | | |
953 | | - | |
| 953 | + | |
| 954 | + | |
954 | 955 | | |
955 | 956 | | |
956 | 957 | | |
| |||
0 commit comments