Skip to content

Commit 65ceabf

Browse files
anantdahiya8nobodyiam
authored andcommitted
fix flaky test in apollo-biz
1 parent d849c02 commit 65ceabf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/entity/JpaMapFieldJsonConverterTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import java.nio.charset.StandardCharsets;
2424
import java.nio.file.Files;
2525
import java.util.HashMap;
26+
import java.util.LinkedHashMap;
2627
import java.util.Map;
2728
import org.junit.jupiter.api.Test;
2829
import org.springframework.core.io.ClassPathResource;
@@ -58,7 +59,7 @@ void convertToDatabaseColumn_oneElement() throws IOException {
5859

5960
@Test
6061
void convertToDatabaseColumn_twoElement() throws IOException {
61-
Map<String, String> map = new HashMap<>(8);
62+
Map<String, String> map = new LinkedHashMap<>(8);
6263
map.put("a", "1");
6364
map.put("disableCheck", "true");
6465

0 commit comments

Comments
 (0)