Skip to content

Commit

Permalink
test: Fix 'unknown parameter engine-id-suffix' on ROS 7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
vaerh committed Jul 13, 2023
1 parent 1a7e761 commit a3f9e6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions routeros/resource_snmp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ import (
"github.com/hashicorp/terraform-plugin-testing/terraform"
)

const testSNMPMinVersion = "7.8"
const testSNMPAddress = "routeros_snmp.test"

func TestAccSNMPTest_basic(t *testing.T) {
if !testCheckMinVersion(t, testSNMPMinVersion) {
t.Logf("Test skipped, the minimum required version is %v", testSNMPMinVersion)
return
}

for _, name := range testNames {
t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{
Expand Down

0 comments on commit a3f9e6f

Please sign in to comment.