diff --git a/integration-tests/common/test_common.go b/integration-tests/common/test_common.go index 6cd3a776e..235a92098 100644 --- a/integration-tests/common/test_common.go +++ b/integration-tests/common/test_common.go @@ -133,6 +133,9 @@ func (m *OCRv2TestState) DeployCluster() { // When running soak we need to use K8S if *m.Common.TestConfig.Common.InsideK8s { m.DeployEnv() + if m.Common.Env.WillUseRemoteRunner() { + return + } // Setting RPC details m.Common.RPCDetails.RPCL2External = m.Common.Env.URLs["starknet-dev"][0] m.Common.RPCDetails.MockServerEndpoint = m.Common.Env.URLs["qa_mock_adapter_internal"][0] diff --git a/integration-tests/scripts/entrypoint b/integration-tests/scripts/entrypoint index 94ea19cc2..462aaaf2f 100755 --- a/integration-tests/scripts/entrypoint +++ b/integration-tests/scripts/entrypoint @@ -14,4 +14,5 @@ cd "$SCRIPT_DIR"/../ || exit 1 # SUITE=${SUITE:=} the suite of tests you want to run # TEST_NAME=${TEST_NAME:=} The specific test to run # run the tests +nix develop -c helm repo update nix develop -c ./"${SUITE}".test -test.v -test.count 1 ${ARGS} -test.run ^${TEST_NAME}$ diff --git a/integration-tests/smoke/ocr2_test.go b/integration-tests/smoke/ocr2_test.go index d8f2aa990..553fa9a2f 100644 --- a/integration-tests/smoke/ocr2_test.go +++ b/integration-tests/smoke/ocr2_test.go @@ -25,7 +25,7 @@ func init() { flag.BoolVar(&keepAlive, "keep-alive", false, "enable to keep the cluster alive") } -func TestOCRBasicNew(t *testing.T) { +func TestOCRBasic(t *testing.T) { for _, test := range []struct { name string env map[string]string diff --git a/integration-tests/test.Dockerfile b/integration-tests/test.Dockerfile index aaf35e838..1c87a720e 100644 --- a/integration-tests/test.Dockerfile +++ b/integration-tests/test.Dockerfile @@ -6,5 +6,6 @@ ENV PATH="/repo/cairo-build/bin:/repo/scarb-build/bin:${PATH}" COPY . /repo/ WORKDIR /repo +RUN nix develop -c helm repo update RUN nix develop -c /repo/integration-tests/scripts/buildTests "${SUITES}" ENTRYPOINT ["/repo/integration-tests/scripts/entrypoint"]