From 842303a24b88bf13d7bef351dd99bc7137e89d38 Mon Sep 17 00:00:00 2001 From: Adam Bollen Date: Thu, 12 Dec 2024 16:02:06 -0800 Subject: [PATCH] Lower test frequency and pull in new perf-utils commit --- concourse/pipeline.yml | 2 +- concourse/scripts/perf.sh | 2 +- perf-test-setup | 2 +- src/test/java/com/fauna/perf/PerformanceTest.java | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/concourse/pipeline.yml b/concourse/pipeline.yml index 727a76e2..6c908fc5 100644 --- a/concourse/pipeline.yml +++ b/concourse/pipeline.yml @@ -86,7 +86,7 @@ resources: - name: dev-tests-trigger type: time source: - interval: 6h + interval: 24h jobs: - name: set-self diff --git a/concourse/scripts/perf.sh b/concourse/scripts/perf.sh index c52affb4..c545ff3b 100755 --- a/concourse/scripts/perf.sh +++ b/concourse/scripts/perf.sh @@ -8,7 +8,7 @@ export LOG_UNIQUE=$(date +%s%3N) # Install fauna-shell apt update -qq apt install -y -qq npm -npm install --silent -g fauna-shell@^2.0.0 +npm install --silent -g fauna-shell@^3.0.0 cd repo.git diff --git a/perf-test-setup b/perf-test-setup index bce440cb..c4833503 160000 --- a/perf-test-setup +++ b/perf-test-setup @@ -1 +1 @@ -Subproject commit bce440cb2ac36ea16422e861885718c6a8d96c08 +Subproject commit c48335031728054c6547ff1f4d419613aca07511 diff --git a/src/test/java/com/fauna/perf/PerformanceTest.java b/src/test/java/com/fauna/perf/PerformanceTest.java index f040b497..960069a6 100644 --- a/src/test/java/com/fauna/perf/PerformanceTest.java +++ b/src/test/java/com/fauna/perf/PerformanceTest.java @@ -32,8 +32,9 @@ private static Stream getTestData() throws IOException { } @BeforeAll - public static void setup() { + public static void setup() throws IllegalArgumentException, InterruptedException, ExecutionException { client = Fauna.client(); + client.asyncQuery(fql("null")).get(); } @AfterAll