-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add New CI Test Script for Mercury LOOPP (#11987)
* Add New Test File for Mercury LOOPP This commit adds a new test file for mercury specific integration tests and are configured to only run when the `integration` build flag is provided. * remove parallel tests for plugin
- Loading branch information
1 parent
877f2f5
commit 2da47a9
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
core/services/ocr2/plugins/mercury/integration_plugin_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
//go:build integration | ||
|
||
package mercury_test | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/smartcontractkit/chainlink/v2/core/config/env" | ||
) | ||
|
||
func TestIntegration_MercuryV1_Plugin(t *testing.T) { | ||
t.Setenv(string(env.MercuryPlugin.Cmd), "chainlink-mercury") | ||
|
||
integration_MercuryV1(t) | ||
} | ||
|
||
func TestIntegration_MercuryV2_Plugin(t *testing.T) { | ||
t.Setenv(string(env.MercuryPlugin.Cmd), "chainlink-mercury") | ||
|
||
integration_MercuryV2(t) | ||
} | ||
|
||
func TestIntegration_MercuryV3_Plugin(t *testing.T) { | ||
t.Setenv(string(env.MercuryPlugin.Cmd), "chainlink-mercury") | ||
|
||
integration_MercuryV3(t) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters