Skip to content

Commit ba91017

Browse files
test: Ensure that randomly created secgroup rules don't conflict
1 parent b747927 commit ba91017

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal/acceptance/openstack/networking/v2/extensions

internal/acceptance/openstack/networking/v2/extensions/extensions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ func CreateSecurityGroupRulesBulk(t *testing.T, client *gophercloud.ServiceClien
149149
sgRulesCreateOpts := make([]rules.CreateOpts, 3)
150150
for i := range 3 {
151151
description := "Rule description"
152-
fromPort := tools.RandomInt(80, 89)
153-
toPort := tools.RandomInt(90, 99)
152+
fromPort := tools.RandomInt(1080, 1089)
153+
toPort := tools.RandomInt(1090, 1099)
154154

155155
sgRulesCreateOpts[i] = rules.CreateOpts{
156156
Description: description,

0 commit comments

Comments
 (0)