Skip to content

Commit

Permalink
Disable monitoring for booted Cloud instances
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingsilverfin committed Mar 23, 2024
1 parent 8a1cac5 commit 9de6052
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion java/test/behaviour/connection/ConnectionStepsBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public abstract class ConnectionStepsBase {
public static final Map<String, String> serverOptions = map(
pair("--diagnostics.reporting.errors", "false"),
pair("--diagnostics.reporting.statistics", "false"),
pair("--diagnostics.monitoring.monitoring", "false")
pair("--diagnostics.monitoring.enable", "false")
);

public static TypeDBTransaction tx() {
Expand Down
3 changes: 2 additions & 1 deletion tool/test/start-cloud-servers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ function server_start() {
--server.encryption.file.internal-grpc.root-ca=`realpath tool/test/resources/encryption/int-grpc-root-ca.pem` \
--server.encryption.file.internal-zmq.private-key=`realpath tool/test/resources/encryption/int-zmq-private-key` \
--server.encryption.file.internal-zmq.public-key=`realpath tool/test/resources/encryption/int-zmq-public-key` \
--diagnostics.reporting.errors=false
--diagnostics.reporting.errors=false \
--diagnostics.monitoring.enable=false
}

rm -rf $(seq 1 $NODE_COUNT) typedb-cloud-all
Expand Down
2 changes: 1 addition & 1 deletion tool/test/start-core-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rm -rf typedb-all

bazel run //tool/test:typedb-extractor -- typedb-all
BAZEL_JAVA_HOME=$(bazel run //tool/test:echo-java-home)
JAVA_HOME=$BAZEL_JAVA_HOME ./typedb-all/typedb server --diagnostics.reporting.errors=false &
JAVA_HOME=$BAZEL_JAVA_HOME ./typedb-all/typedb server --diagnostics.reporting.errors=false --diagnostics.monitoring.enable=false &

set +e
POLL_INTERVAL_SECS=0.5
Expand Down

0 comments on commit 9de6052

Please sign in to comment.