Skip to content

Commit

Permalink
Re-Enable Draft Object test
Browse files Browse the repository at this point in the history
Re-enable Draft Object test.
Closes-Bug: 1771691
Depends-On: I3f499a9b073f62af0f87b9ad239bb669b12cd3d1

Change-Id: Idef64315cdab2c949692141ec20fc51df3479b8d
  • Loading branch information
psdsouza committed Jun 14, 2018
1 parent db4f285 commit a23a50c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ifmap/client/test/config_json_parser_test.cc
Expand Up @@ -2282,7 +2282,7 @@ TEST_F(ConfigJsonParserTest, ServerParser18InParts) {
}

// Verify that Draft objects are ignored
TEST_F(ConfigJsonParserTest, DISABLED_ServerParserDraftObject) {
TEST_F(ConfigJsonParserTest, ServerParserDraftObject) {
IFMapTable *pmtable = IFMapTable::FindTable(&db_, "policy-management");
TASK_UTIL_EXPECT_EQ(0, pmtable->Size());
IFMapTable *frtable = IFMapTable::FindTable(&db_, "firewall-rule");
Expand Down
4 changes: 3 additions & 1 deletion src/ifmap/testdata/server_parser_test19.json
Expand Up @@ -90,7 +90,9 @@
"634ae160-d3ef-4e81-b58d-d196211eb4d9": {
"fq_name": "[\"normal-policy-management\"]",
"type": "\"policy_management\"",
"prop:id_perms": "{\"uuid\":{\"uuid_mslong\":\"7154778764020240001\",\"uuid_lslong\":\"13082342935312119001\"},\"created\":null,\"last_modified\":null}"
"prop:id_perms": "{\"uuid\":{\"uuid_mslong\":\"7154778764020240001\",\"uuid_lslong\":\"13082342935312119001\"},\"created\":null,\"last_modified\":null}",
"parent:policy_management:f178bfd9-16bc-4a42-8187-9b09fa544cb1" : ["null", 1483451383823467],
"prop:draft_mode_state": ["\"updated\"", 1483451383823567]
}
}
},
Expand Down

0 comments on commit a23a50c

Please sign in to comment.