From 244426305d6c6273eff1c8d1f2cb00f4d10083e9 Mon Sep 17 00:00:00 2001 From: Thomas Tendyck Date: Tue, 26 Jul 2022 11:59:05 +0200 Subject: [PATCH] fix integration test workflow --- .github/workflows/test-integration.yml | 1 + state/test/integration_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 5d89797ef..4ae42dcbd 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -36,3 +36,4 @@ jobs: # Runs all test targets starting with "integration-" - name: Integration Tests run: ctest -R integration- + working-directory: build diff --git a/state/test/integration_test.go b/state/test/integration_test.go index 43b8754d0..ec50a10cb 100644 --- a/state/test/integration_test.go +++ b/state/test/integration_test.go @@ -86,7 +86,7 @@ func TestKeyAPI(t *testing.T) { assert := assert.New(t) testKey := []byte("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA") - testSecret := []byte("BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB") + testSecret := []byte("BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB") // get a free port on localhost to run the test on listener, err := net.Listen("tcp", "localhost:0")