Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/cre-system-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,13 @@ jobs:
"Test_CRE_V2_Aptos_Suite": [
{"topology":"workflow-gateway-aptos","configs":"configs/workflow-gateway-don-aptos.toml"}
],
"Test_CRE_V2_Solana_Suite": [
"Test_CRE_V2_Solana_Write": [
{"topology":"workflow","configs":"configs/workflow-don-solana.toml"}
],
"Test_CRE_V2_Solana_Read_Accounts": [
"Test_CRE_V2_Solana_LogTrigger": [
{"topology":"workflow","configs":"configs/workflow-don-solana.toml"}
],
"Test_CRE_V2_Solana_Read_Accounts": [
{"topology":"workflow","configs":"configs/workflow-don-solana.toml"}
],
"Test_CRE_V2_Sharding": [
Expand Down
10 changes: 8 additions & 2 deletions system-tests/tests/smoke/cre/cre_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,19 @@ func runEVMReadBucket(t *testing.T, bucket evm_config.ReadBucket) {

const solanaConfigPath = "/configs/workflow-don-solana.toml"

func Test_CRE_V2_Solana_Suite(t *testing.T) {
func Test_CRE_V2_Solana_Write(t *testing.T) {
testEnv := t_helpers.SetupTestEnvironmentWithConfig(t, t_helpers.GetTestConfig(t, solanaConfigPath))
t.Run("Solana Write", func(t *testing.T) {
ExecuteSolanaWriteTest(t, testEnv)
})
t.Run("[v2] Solana LogTrigger", func(t *testing.T) {
}

func Test_CRE_V2_Solana_LogTrigger(t *testing.T) {
testEnv := t_helpers.SetupTestEnvironmentWithConfig(t, t_helpers.GetTestConfig(t, solanaConfigPath))
t.Run("Solana LogTrigger", func(t *testing.T) {
ExecuteSolanaLogTriggerTest(t, testEnv)
})
t.Run("Solana LogTrigger CPI", func(t *testing.T) {
ExecuteSolanaLogTriggerCPITest(t, testEnv)
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ type Config struct {
LogReadTestProgramID solanago.PublicKey
ExpectedU64Value uint64
ExpectedStrVal string `yaml:"expected_str_val"`
ContractIdlJSON string `yaml:"contract_idl_json"`
// CPILogTrigger registers the CPI log trigger handler when true, otherwise the direct log trigger handler.
CPILogTrigger bool `yaml:"cpi_log_trigger"`
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading