Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(perf-tests): A few minor tweaks to perf tests #192

Merged
merged 7 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concourse/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ resources:
- name: dev-tests-trigger
type: time
source:
interval: 6h
interval: 24h

jobs:
- name: set-self
Expand Down
2 changes: 1 addition & 1 deletion concourse/scripts/perf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion perf-test-setup
Submodule perf-test-setup updated 2 files
+23 −2 README.md
+1 −1 init.sh
5 changes: 4 additions & 1 deletion src/test/java/com/fauna/perf/PerformanceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ private static Stream<Arguments> getTestData() throws IOException {
}

@BeforeAll
public static void setup() {
public static void setup() throws IllegalArgumentException, InterruptedException, ExecutionException {
client = Fauna.client();

// Throw away results of initial query used just for establishing connection
client.asyncQuery(fql("null")).get();
}

@AfterAll
Expand Down
Loading