Merge pull request #4297 from jtopjian/jtopjian-openstack-secgroup-test-fix

provider/openstack: Fix set hash for security group test
This commit is contained in:
Joe Topjian 2015-12-13 15:20:32 -07:00
commit 0f588fcc53
1 changed files with 2 additions and 2 deletions

View File

@ -97,9 +97,9 @@ func TestAccComputeV2SecGroup_self(t *testing.T) {
testAccCheckComputeV2SecGroupExists(t, "openstack_compute_secgroup_v2.test_group_1", &secgroup), testAccCheckComputeV2SecGroupExists(t, "openstack_compute_secgroup_v2.test_group_1", &secgroup),
testAccCheckComputeV2SecGroupGroupIDMatch(t, &secgroup, &secgroup), testAccCheckComputeV2SecGroupGroupIDMatch(t, &secgroup, &secgroup),
resource.TestCheckResourceAttr( resource.TestCheckResourceAttr(
"openstack_compute_secgroup_v2.test_group_1", "rule.1118853483.self", "true"), "openstack_compute_secgroup_v2.test_group_1", "rule.3170486100.self", "true"),
resource.TestCheckResourceAttr( resource.TestCheckResourceAttr(
"openstack_compute_secgroup_v2.test_group_1", "rule.1118853483.from_group_id", ""), "openstack_compute_secgroup_v2.test_group_1", "rule.3170486100.from_group_id", ""),
), ),
}, },
}, },