Skip to content

Commit 3ee782f

Browse files
committed
Fix IntegrationTests
1 parent ad86018 commit 3ee782f

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

run/src/integrationTest/resources/application-run-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ csm:
9898
port: "6379"
9999
username: "default"
100100
password: "my-wonderful-password"
101+
useGraphModule: true
101102
tls:
102103
enabled: false
103104
bundle: ""

runner/src/integrationTest/kotlin/com/cosmotech/runner/service/RunnerServiceIntegrationTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ class RunnerServiceIntegrationTest : CsmRedisTestBase() {
10041004
createTwingraph: Boolean = true
10051005
): Dataset {
10061006
dataset.apply {
1007-
if (createTwingraph) {
1007+
if (createTwingraph && !this.twingraphId.isNullOrBlank()) {
10081008
jedis.graphQuery(this.twingraphId, "MATCH (n:labelrouge) return 1")
10091009
}
10101010
this.ingestionStatus = IngestionStatusEnum.SUCCESS

runner/src/integrationTest/kotlin/com/cosmotech/runner/service/RunnerServiceRBACTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4460,7 +4460,7 @@ class RunnerServiceRBACTest : CsmRedisTestBase() {
44604460

44614461
private fun materializeTwingraph(dataset: Dataset, createTwingraph: Boolean = true): Dataset {
44624462
dataset.apply {
4463-
if (createTwingraph) {
4463+
if (createTwingraph && !this.twingraphId.isNullOrBlank()) {
44644464
jedis.graphQuery(this.twingraphId, "CREATE (n:labelrouge)")
44654465
}
44664466
this.ingestionStatus = IngestionStatusEnum.SUCCESS

runner/src/integrationTest/resources/application-runner-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ csm:
8787
port: "6379"
8888
username: "default"
8989
password: "my-wonderful-password"
90+
useGraphModule: true
9091
tls:
9192
enabled: false
9293
bundle: ""

workspace/src/integrationTest/resources/application-workspace-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ csm:
9292
username: "default"
9393
# Leave it as blank as there's no auth with test container
9494
password:
95+
useGraphModule: true
9596
tls:
9697
enabled: false
9798
bundle: ""

0 commit comments

Comments
 (0)