Skip to content

Commit

Permalink
Fix flakey tests.
Browse files Browse the repository at this point in the history
Closes #407
  • Loading branch information
mp911de committed Dec 16, 2024
1 parent e4819da commit ebdd647
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@
import static org.assertj.core.api.Assertions.*;

import java.util.AbstractMap;
import java.util.LinkedHashMap;
import java.util.Map;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.data.util.CloseableIterator;

/**
* Unit tests for {@link MapKeyValueAdapter}.
*
* @author Christoph Strobl
* @author Mark Paluch
*/
class MapKeyValueAdapterUnitTests {

Expand All @@ -40,7 +44,7 @@ class MapKeyValueAdapterUnitTests {

@BeforeEach
void setUp() {
this.adapter = new MapKeyValueAdapter();
this.adapter = new MapKeyValueAdapter(LinkedHashMap.class);
}

@Test // DATACMNS-525
Expand Down

0 comments on commit ebdd647

Please sign in to comment.