Skip to content

Commit 8a1cac5

Browse files
Fix NodeJS test schema validation errors and disable reporting service to avoid port clashes
1 parent f1937e2 commit 8a1cac5

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

dependencies/vaticle/artifacts.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def vaticle_typedb_artifact():
2929
artifact_name = "typedb-server-{platform}-{version}.{ext}",
3030
tag_source = deployment["artifact"]["release"]["download"],
3131
commit_source = deployment["artifact"]["snapshot"]["download"],
32-
commit = "fee8e9c5a8c17a58b4639b91e23458e715e0d3a3",
32+
tag = "2.27.0-rc0",
3333
)
3434

3535
def vaticle_typedb_cloud_artifact():
@@ -39,7 +39,7 @@ def vaticle_typedb_cloud_artifact():
3939
artifact_name = "typedb-cloud-server-{platform}-{version}.{ext}",
4040
tag_source = deployment_private["artifact"]["release"]["download"],
4141
commit_source = deployment_private["artifact"]["snapshot"]["download"],
42-
commit = "2c96925694c196be3c898aa3ffc0f56ccc84f400",
42+
tag = "2.27.0-rc0",
4343
)
4444

4545
maven_artifacts = {

java/test/behaviour/connection/ConnectionStepsBase.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ public abstract class ConnectionStepsBase {
6363
);
6464

6565
public static final Map<String, String> serverOptions = map(
66-
pair("--diagnostics.reporting.errors", "false")
66+
pair("--diagnostics.reporting.errors", "false"),
67+
pair("--diagnostics.reporting.statistics", "false"),
68+
pair("--diagnostics.monitoring.monitoring", "false")
6769
);
6870

6971
public static TypeDBTransaction tx() {

nodejs/test/integration/test-concept.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ async function run() {
211211
await person.setAbstract(tx);
212212
await person.setOwns(tx, email, [Annotation.KEY]);
213213
man = await tx.concepts.getEntityType("man");
214+
fathership = await tx.concepts.getRelationType("fathership");
215+
father = await fathership.getRelatesForRoleLabel(tx, "father");
216+
await man.unsetPlays(tx, father);
214217
await man.setSupertype(tx, await tx.concepts.getRootEntityType());
215218
await person.setOwns(tx, age);
216219
await lion.setOwns(tx, age);

0 commit comments

Comments
 (0)