Skip to content

Commit df88a91

Browse files
Improve setup method naming.
1 parent 53ce614 commit df88a91

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

datastore/src/test/java/io/spine/server/storage/datastore/DsCatchUpSmokeTest.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,21 @@
3636
*
3737
* <p>The tests are extremely slow, so several long tests from {@link CatchUpTest} are disabled.
3838
*/
39-
@DisplayName("Datastore-backed `CatchUp` should ")
4039
@SlowTest
40+
@DisplayName("Datastore-backed `CatchUp` should ")
4141
class DsCatchUpSmokeTest extends CatchUpTest {
4242

4343
private TestDatastoreStorageFactory factory;
4444

45-
@Override
4645
@BeforeEach
47-
public void setUp() {
46+
void prepareStorageFactory() {
4847
factory = TestDatastoreStorageFactory.local();
4948
ServerEnvironment.when(Tests.class)
5049
.use(factory);
5150
}
5251

53-
@Override
5452
@AfterEach
55-
public void tearDown() {
53+
void tearDownStorageFactory() {
5654
if (factory != null) {
5755
factory.tearDown();
5856
}

0 commit comments

Comments
 (0)