Skip to content

Commit

Permalink
chore: Temporarily suppress the contract test failure due to we stop …
Browse files Browse the repository at this point in the history
…sending index and identify events for anonymous context
  • Loading branch information
louis-launchdarkly committed Jun 25, 2024
1 parent ab163f5 commit 3de7206
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ TEMP_TEST_OUTPUT=/tmp/contract-test-service.log

# TEST_HARNESS_PARAMS can be set to add -skip parameters for any contract tests that cannot yet pass
# Explanation of current skips:
TEST_HARNESS_PARAMS=
# We haven't added the new contract test for the behavior change in anonymous index/identify events, so only those tests are failing
TEST_HARNESS_PARAMS=""

build-contract-tests:
@cd contract-tests && bundle _2.2.33_ install
Expand All @@ -16,7 +17,7 @@ start-contract-test-service-bg:

run-contract-tests:
@curl -s https://raw.githubusercontent.com/launchdarkly/sdk-test-harness/v2/downloader/run.sh \
| VERSION=v2 PARAMS="-url http://localhost:9000 -debug -stop-service-at-end $(TEST_HARNESS_PARAMS)" sh
| VERSION=v2 PARAMS="-url http://localhost:9000 -debug -stop-service-at-end -skip-from testharness-suppressions.txt" sh

contract-tests: build-contract-tests start-contract-test-service-bg run-contract-tests

Expand Down

0 comments on commit 3de7206

Please sign in to comment.