Skip to content

Commit 45e1bae

Browse files
Fix CI file and disable Core diagnostics in test
1 parent eadffc8 commit 45e1bae

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.factory/automation.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ release:
9696
owner: vaticle
9797
branch: master
9898
image: vaticle-ubuntu-22.04
99-
dependencies: [build]
10099
command: |
101100
export DEPLOY_MAVEN_USERNAME=$REPO_TYPEDB_USERNAME
102101
export DEPLOY_MAVEN_PASSWORD=$REPO_TYPEDB_PASSWORD

TypeDBConsole.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,6 @@ private static class CLIOptions implements Runnable {
916916
private @Nullable
917917
List<String> commands;
918918

919-
920919
@CommandLine.Option(
921920
names = {"--diagnostics-disable"},
922921
description = "Disable diagnostics reporting"

dependencies/vaticle/repositories.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ def vaticle_typedb_driver():
3535
git_repository(
3636
name = "vaticle_typedb_driver",
3737
remote = "https://github.com/vaticle/typedb-driver",
38-
commit = "f04d10c9cd6889c390453769f2a9664c6869298a", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_driver
38+
commit = "1d75fefb97e30b509eab2244fc36ed4404e5d575", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_driver
3939
)

test/assembly/AssemblyTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import org.junit.Test;
2323

2424
import java.io.IOException;
25+
import java.util.HashMap;
26+
import java.util.Map;
2527
import java.util.concurrent.TimeoutException;
2628

2729
import static org.junit.Assert.fail;
@@ -31,7 +33,9 @@ public class AssemblyTest {
3133
@Test
3234
public void test_console_command() throws IOException, InterruptedException, TimeoutException {
3335
TypeDBConsoleRunner consoleRunner = new TypeDBConsoleRunner();
34-
TypeDBCoreRunner coreRunner = new TypeDBCoreRunner();
36+
Map<String, String> coreOptions = new HashMap<>();
37+
coreOptions.put("--diagnostics.reporting.enable", "false");
38+
TypeDBCoreRunner coreRunner = new TypeDBCoreRunner(coreOptions);
3539
try {
3640
coreRunner.start();
3741
int status = consoleRunner.run("--core", coreRunner.address(), "--command", "database create assembly-test-db");

0 commit comments

Comments
 (0)