Skip to content

Commit beb2710

Browse files
committed
Improve a project test structure
Many test cases are scattered over test hierarchies which is hard to answer distinctly: what the state do we have before the test? what's the flow between test executions? and so on. Avoiding deep hierarchies should increase a test readability. Closes: #188
1 parent 762ce2f commit beb2710

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2977
-2359
lines changed

pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@
171171
<version>${junit.jupiter.version}</version>
172172
<scope>test</scope>
173173
</dependency>
174+
<dependency>
175+
<groupId>org.junit.jupiter</groupId>
176+
<artifactId>junit-jupiter-params</artifactId>
177+
<version>${junit.jupiter.version}</version>
178+
<scope>test</scope>
179+
</dependency>
174180
<dependency>
175181
<groupId>org.mockito</groupId>
176182
<artifactId>mockito-all</artifactId>

src/main/java/org/tarantool/TarantoolClusterClient.java

+1
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ public synchronized void run() {
278278
onInstancesRefreshed(lastInstances);
279279
}
280280
} catch (Exception ignored) {
281+
ignored.getCause();
281282
// no-op
282283
}
283284
}

src/test/java/org/tarantool/AbstractAsyncClientOperationsIT.java

-126
This file was deleted.

src/test/java/org/tarantool/AbstractSocketProviderTest.java

-50
This file was deleted.

0 commit comments

Comments
 (0)