Skip to content

Commit

Permalink
Helm repo update
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Feb 27, 2024
1 parent e612f67 commit eefe189
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions integration-tests/common/test_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 1 addition & 0 deletions integration-tests/scripts/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -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}$
2 changes: 1 addition & 1 deletion integration-tests/smoke/ocr2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions integration-tests/test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit eefe189

Please sign in to comment.