Skip to content

Commit

Permalink
Update knapsack_pro_rspec_parallel_requests
Browse files Browse the repository at this point in the history
we must use the same CI build ID so that both CI nodes read from the same cache
  • Loading branch information
ArturT committed Sep 29, 2023
1 parent 94f2a38 commit a5d9cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/edge_cases/knapsack_pro_rspec_parallel_requests
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# The request should fail due to 1st command still initializing the test suite split on the API side.
# This is expected. The request should be retried and get tests assigned to node index 1.

export KNAPSACK_PRO_CI_NODE_BUILD_ID=$(openssl rand -base64 32)
export KNAPSACK_PRO_CI_NODE_BUILD_ID=ci-build-id-${1:-1}
export KNAPSACK_PRO_ENDPOINT=http://api.knapsackpro.test:3000
export KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC=a28ce51204d7c7dbd25c3352fea222cf
export KNAPSACK_PRO_CI_NODE_TOTAL=2
Expand Down

0 comments on commit a5d9cbd

Please sign in to comment.