Skip to content

Commit fcb4b46

Browse files
committed
Fix test failing due to a concurrent modification exception
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
1 parent a99f754 commit fcb4b46

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/test/unit/org/openstreetmap/josm/plugins/mapwithai/gui/preferences/MapWithAIPreferencesTest.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.openstreetmap.josm.plugins.mapwithai.testutils.annotations.MapWithAISources;
2020
import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
2121
import org.openstreetmap.josm.testutils.annotations.Main;
22+
import org.openstreetmap.josm.testutils.annotations.ThreadSync;
2223

2324
/**
2425
* Test class for {@link MapWithAIPreferences}
@@ -28,6 +29,7 @@
2829
@BasicPreferences
2930
@Main
3031
@MapWithAISources
32+
@ThreadSync
3133
class MapWithAIPreferencesTest {
3234
private MapWithAIPreferences preferences;
3335

0 commit comments

Comments
 (0)