From 8a1cac5f933cceebb508e81831b2ee02306d9870 Mon Sep 17 00:00:00 2001 From: joshua Date: Sat, 23 Mar 2024 11:16:02 +0000 Subject: [PATCH] Fix NodeJS test schema validation errors and disable reporting service to avoid port clashes --- dependencies/vaticle/artifacts.bzl | 4 ++-- java/test/behaviour/connection/ConnectionStepsBase.java | 4 +++- nodejs/test/integration/test-concept.js | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dependencies/vaticle/artifacts.bzl b/dependencies/vaticle/artifacts.bzl index 5afc32a3a6..34fd713f49 100644 --- a/dependencies/vaticle/artifacts.bzl +++ b/dependencies/vaticle/artifacts.bzl @@ -29,7 +29,7 @@ def vaticle_typedb_artifact(): artifact_name = "typedb-server-{platform}-{version}.{ext}", tag_source = deployment["artifact"]["release"]["download"], commit_source = deployment["artifact"]["snapshot"]["download"], - commit = "fee8e9c5a8c17a58b4639b91e23458e715e0d3a3", + tag = "2.27.0-rc0", ) def vaticle_typedb_cloud_artifact(): @@ -39,7 +39,7 @@ def vaticle_typedb_cloud_artifact(): artifact_name = "typedb-cloud-server-{platform}-{version}.{ext}", tag_source = deployment_private["artifact"]["release"]["download"], commit_source = deployment_private["artifact"]["snapshot"]["download"], - commit = "2c96925694c196be3c898aa3ffc0f56ccc84f400", + tag = "2.27.0-rc0", ) maven_artifacts = { diff --git a/java/test/behaviour/connection/ConnectionStepsBase.java b/java/test/behaviour/connection/ConnectionStepsBase.java index 4ef4fc54f2..57d0c91ac5 100644 --- a/java/test/behaviour/connection/ConnectionStepsBase.java +++ b/java/test/behaviour/connection/ConnectionStepsBase.java @@ -63,7 +63,9 @@ public abstract class ConnectionStepsBase { ); public static final Map serverOptions = map( - pair("--diagnostics.reporting.errors", "false") + pair("--diagnostics.reporting.errors", "false"), + pair("--diagnostics.reporting.statistics", "false"), + pair("--diagnostics.monitoring.monitoring", "false") ); public static TypeDBTransaction tx() { diff --git a/nodejs/test/integration/test-concept.js b/nodejs/test/integration/test-concept.js index 488a9a8f02..44e023e0f4 100644 --- a/nodejs/test/integration/test-concept.js +++ b/nodejs/test/integration/test-concept.js @@ -211,6 +211,9 @@ async function run() { await person.setAbstract(tx); await person.setOwns(tx, email, [Annotation.KEY]); man = await tx.concepts.getEntityType("man"); + fathership = await tx.concepts.getRelationType("fathership"); + father = await fathership.getRelatesForRoleLabel(tx, "father"); + await man.unsetPlays(tx, father); await man.setSupertype(tx, await tx.concepts.getRootEntityType()); await person.setOwns(tx, age); await lion.setOwns(tx, age);