Skip to content

Commit

Permalink
test.parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG committed Nov 16, 2024
1 parent b223d99 commit 324ee54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion integration-tests/smoke/ccip_rmn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
)

func TestRMN_TwoMessagesOnTwoLanes(t *testing.T) {
t.Parallel()
runRmnTestCase(t, rmnTestCase{
name: "messages on two lanes",
waitForExec: true,
Expand All @@ -51,6 +52,7 @@ func TestRMN_TwoMessagesOnTwoLanes(t *testing.T) {
}

func TestRMN_MultipleMessagesOnOneLaneNoWaitForExec(t *testing.T) {
t.Parallel()
runRmnTestCase(t, rmnTestCase{
name: "multiple messages for rmn batching inspection and one rmn node down",
waitForExec: false, // do not wait for execution reports
Expand All @@ -73,6 +75,7 @@ func TestRMN_MultipleMessagesOnOneLaneNoWaitForExec(t *testing.T) {
}

func TestRMN_NotEnoughObservers(t *testing.T) {
t.Parallel()
runRmnTestCase(t, rmnTestCase{
name: "one message but not enough observers, should not get a commit report",
passIfNoCommitAfter: time.Minute, // wait for a minute and assert that commit report was not delivered
Expand All @@ -95,6 +98,7 @@ func TestRMN_NotEnoughObservers(t *testing.T) {
}

func TestRMN_DifferentSigners(t *testing.T) {
t.Parallel()
runRmnTestCase(t, rmnTestCase{
name: "different signers and different observers",
homeChainConfig: homeChainConfig{
Expand All @@ -119,6 +123,7 @@ func TestRMN_DifferentSigners(t *testing.T) {
}

func TestRMN_NotEnoughSigners(t *testing.T) {
t.Parallel()
runRmnTestCase(t, rmnTestCase{
name: "different signers and different observers",
passIfNoCommitAfter: time.Minute, // wait for a minute and assert that commit report was not delivered
Expand All @@ -144,6 +149,7 @@ func TestRMN_NotEnoughSigners(t *testing.T) {
}

func TestRMN_DifferentRmnNodesForDifferentChains(t *testing.T) {
t.Parallel()
runRmnTestCase(t, rmnTestCase{
name: "different rmn nodes support different chains",
waitForExec: false,
Expand Down Expand Up @@ -175,7 +181,6 @@ const (
)

func runRmnTestCase(t *testing.T, tc rmnTestCase) {
t.Parallel()
require.NoError(t, os.Setenv("ENABLE_RMN", "true"))

envWithRMN, rmnCluster := testsetups.NewLocalDevEnvironmentWithRMN(t, logger.TestLogger(t), len(tc.rmnNodes))
Expand Down

0 comments on commit 324ee54

Please sign in to comment.