Skip to content

Commit

Permalink
Fix NodeJS test schema validation errors and disable reporting servic…
Browse files Browse the repository at this point in the history
…e to avoid port clashes
  • Loading branch information
flyingsilverfin committed Mar 23, 2024
1 parent f1937e2 commit 8a1cac5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dependencies/vaticle/artifacts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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 = {
Expand Down
4 changes: 3 additions & 1 deletion java/test/behaviour/connection/ConnectionStepsBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ public abstract class ConnectionStepsBase {
);

public static final Map<String, String> 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() {
Expand Down
3 changes: 3 additions & 0 deletions nodejs/test/integration/test-concept.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8a1cac5

Please sign in to comment.