Skip to content

Commit

Permalink
Update ReleaseControllerTest.java
Browse files Browse the repository at this point in the history
fix flaky test
  • Loading branch information
plzdoo authored and nobodyiam committed Apr 13, 2022
1 parent a882f3e commit 735f588
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import org.springframework.util.MultiValueMap;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

import static org.mockito.Mockito.*;
Expand Down Expand Up @@ -101,7 +102,7 @@ public void testReleaseBuild() {
Assert.assertEquals("default", release.getClusterName());
Assert.assertEquals("application", release.getNamespaceName());

Map<String, String> configurations = new HashMap<>();
Map<String, String> configurations = new LinkedHashMap<>();
configurations.put("k1", "v1");
configurations.put("k2", "v2");
configurations.put("k3", "v3");
Expand Down

0 comments on commit 735f588

Please sign in to comment.