From 3de7206d93c4b48c0b06d2dc8c195332545301cf Mon Sep 17 00:00:00 2001 From: Louis Chan Date: Tue, 25 Jun 2024 15:41:54 -0700 Subject: [PATCH] chore: Temporarily suppress the contract test failure due to we stop sending index and identify events for anonymous context --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 176acf14..66c80573 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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