Skip to content

Commit

Permalink
Skip test in old versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpedrosa committed Sep 20, 2023
1 parent 864a487 commit 27cc0a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions routeros/resource_ip_firewall_connection_tracking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ import (
)

const testIPConnectionTracking = "routeros_ip_firewall_connection_tracking.data"
const testMingIPConnTrackingVersion = "7.10"

func TestAccIPConnectionTrackingTest_basic(t *testing.T) {
for _, name := range testNames {
if !testCheckMinVersion(t, testMingIPConnTrackingVersion) {
t.Logf("Test skipped, the minimum required version is %v", testMingIPConnTrackingVersion)
return
}

t.Run(name, func(t *testing.T) {
resource.Test(t, resource.TestCase{

Expand Down

0 comments on commit 27cc0a8

Please sign in to comment.