Skip to content

Commit

Permalink
fix meta test
Browse files Browse the repository at this point in the history
  • Loading branch information
lgh committed Nov 28, 2017
1 parent 0ad4a11 commit f2cc20b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meta/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2382,7 +2382,7 @@ void test_route_entry_set()
META_ASSERT_FAIL(status);

SWSS_LOG_NOTICE("correct packet action");
attr.id = SAI_NEIGHBOR_ENTRY_ATTR_PACKET_ACTION;
attr.id = SAI_ROUTE_ENTRY_ATTR_PACKET_ACTION;
attr.value.s32 = SAI_PACKET_ACTION_DROP;
status = meta_sai_set_route_entry(&route_entry, &attr, &dummy_success_sai_set_route_entry);
META_ASSERT_SUCCESS(status);
Expand Down Expand Up @@ -2583,7 +2583,7 @@ void test_route_entry_flow()
SWSS_LOG_NOTICE("set tests");

SWSS_LOG_NOTICE("correct packet action");
attr.id = SAI_NEIGHBOR_ENTRY_ATTR_PACKET_ACTION;
attr.id = SAI_ROUTE_ENTRY_ATTR_PACKET_ACTION;
attr.value.s32 = SAI_PACKET_ACTION_DROP;
status = meta_sai_set_route_entry(&route_entry, &attr, &dummy_success_sai_set_route_entry);
META_ASSERT_SUCCESS(status);
Expand Down

0 comments on commit f2cc20b

Please sign in to comment.