File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
main/java/org/testcontainers/timeplus
test/java/org/testcontainers/junit/timeplus Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
- # timeplus Module
1
+ # Timeplus Module
2
2
3
3
## Adding this module to your project dependencies
4
4
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ dependencies {
5
5
api project(' :jdbc' )
6
6
7
7
testImplementation project(' :jdbc-test' )
8
- testRuntimeOnly ' com.timeplus:timeplus-native-jdbc:2.0.1 '
9
- testImplementation ' org.assertj:assertj-core:3.25 .3'
8
+ testRuntimeOnly ' com.timeplus:timeplus-native-jdbc:2.0.4 '
9
+ testImplementation ' org.assertj:assertj-core:3.26 .3'
10
10
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class TimeplusContainer extends JdbcDatabaseContainer<TimeplusContainer>
17
17
18
18
static final String DOCKER_IMAGE_NAME = "timeplus/timeplusd" ;
19
19
20
- private static final DockerImageName TIMEPLUS_IMAGE_NAME = DockerImageName .parse ("timeplus/timeplusd" );
20
+ private static final DockerImageName TIMEPLUS_IMAGE_NAME = DockerImageName .parse (DOCKER_IMAGE_NAME );
21
21
22
22
private static final Integer HTTP_PORT = 3218 ;
23
23
@@ -79,17 +79,17 @@ public String getJdbcUrl() {
79
79
80
80
@ Override
81
81
public String getUsername () {
82
- return username ;
82
+ return this . username ;
83
83
}
84
84
85
85
@ Override
86
86
public String getPassword () {
87
- return password ;
87
+ return this . password ;
88
88
}
89
89
90
90
@ Override
91
91
public String getDatabaseName () {
92
- return databaseName ;
92
+ return this . databaseName ;
93
93
}
94
94
95
95
@ Override
Original file line number Diff line number Diff line change 2
2
3
3
import org .junit .Test ;
4
4
import org .junit .runner .RunWith ;
5
+ import org .junit .runners .BlockJUnit4ClassRunner ;
5
6
import org .junit .runners .Parameterized ;
6
7
import org .testcontainers .TimeplusImages ;
7
8
import org .testcontainers .db .AbstractContainerDatabaseTest ;
13
14
14
15
import static org .assertj .core .api .Assertions .assertThat ;
15
16
16
- @ RunWith (Parameterized .class )
17
+ @ RunWith (BlockJUnit4ClassRunner .class )
17
18
public class SimpleTimeplusTest extends AbstractContainerDatabaseTest {
18
19
19
20
private final DockerImageName imageName ;
You can’t perform that action at this time.
0 commit comments