From 200088fa969a4d3f00b29abdd87d010d8865b18b Mon Sep 17 00:00:00 2001 From: george-dorin Date: Fri, 20 Dec 2024 13:00:43 +0200 Subject: [PATCH] Fix naming --- .../smoke/config/dual_transmission_e2e_holesky.toml | 8 ++++---- ...ransmission_test.go => ocr2_dual_transmission_test.go} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename integration-tests/smoke/{ocr2_forwarders_dual_transmission_test.go => ocr2_dual_transmission_test.go} (98%) diff --git a/integration-tests/smoke/config/dual_transmission_e2e_holesky.toml b/integration-tests/smoke/config/dual_transmission_e2e_holesky.toml index f3e14171959..5207508e93c 100644 --- a/integration-tests/smoke/config/dual_transmission_e2e_holesky.toml +++ b/integration-tests/smoke/config/dual_transmission_e2e_holesky.toml @@ -1,17 +1,17 @@ [test_config] overwrite_custom_url = false -test_timeout_minutes = 10 -expected_event_count = 5 +test_timeout_minutes = 60 +expected_event_count = 10 custom_url = "https://rpc-holesky.flashbots.net/fast" [contracts] [blockchain_a] -type = "geth" +type = "anvil" docker_cmd_params = ["-b", "1"] +chain_id = "17000" [blockchain_a.out] -chain_id = "17000" use_cache = false family = "evm" diff --git a/integration-tests/smoke/ocr2_forwarders_dual_transmission_test.go b/integration-tests/smoke/ocr2_dual_transmission_test.go similarity index 98% rename from integration-tests/smoke/ocr2_forwarders_dual_transmission_test.go rename to integration-tests/smoke/ocr2_dual_transmission_test.go index 4f7fba23d4c..c92291873d1 100644 --- a/integration-tests/smoke/ocr2_forwarders_dual_transmission_test.go +++ b/integration-tests/smoke/ocr2_dual_transmission_test.go @@ -264,7 +264,7 @@ func TestSmoke(t *testing.T) { ocr2Keys, err := workerNodes[i].MustReadOCR2Keys() require.NoError(t, err, "cannot fetch OCR2 keys") require.Equal(t, 1, len(ocr2Keys.Data), "expecting only one OCR2 key") - response, _, err = workerNodes[i].CreateJobRaw(fmt.Sprintf(oevJobSpec, uuid.New().String(), oevContract.Addresses[0].String(), chainFamily, ocr2Keys.Data[0].ID, primaryAddresses[i], bootstrapPeerID.Data[0].Attributes.PeerID, + response, _, err := workerNodes[i].CreateJobRaw(fmt.Sprintf(oevJobSpec, uuid.New().String(), oevContract.Addresses[0].String(), chainFamily, ocr2Keys.Data[0].ID, primaryAddresses[i], bootstrapPeerID.Data[0].Attributes.PeerID, strings.TrimPrefix(out.CLNodes[0].Node.DockerP2PUrl, "http://"), chainID, oevContract.Addresses[0].String(), secondaryAddresses[i])) require.NoError(t, err) require.Empty(t, response.Errors) @@ -430,7 +430,7 @@ func waitForDualAggregatorEvents( possibleRounds = append(possibleRounds, uint32(i)) } - startBlock := uint64(2969733) + startBlock := uint64(1) //TODO: @george-dorin Fix Me! lggr.Info().Msg("Waiting for Dual aggregator events") var confirmedPrimary, confirmedSecondary int16