File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1787,11 +1787,11 @@ class test_ucp_address_v2 : public test_ucp_wireup {
17871787 UCS_STATIC_BITMAP_FOR_EACH_BIT (rsc_index, &context->tl_bitmap ) {
17881788 auto wiface = ucp_worker_iface (worker, rsc_index);
17891789
1790- /* Compare resources by device and transport */
1791- if ((context->tl_rscs [rsc_index].tl_name_csum ==
1790+ /* Compare resources by md_index, transport name, and device */
1791+ if ((context->tl_rscs [rsc_index].md_index == ae->md_index ) &&
1792+ (context->tl_rscs [rsc_index].tl_name_csum ==
17921793 ae->tl_name_csum ) &&
17931794 uct_iface_is_reachable_v2 (wiface->iface , ¶ms)) {
1794- EXPECT_EQ (ae->md_index , context->tl_rscs [rsc_index].md_index );
17951795 return &wiface->attr ;
17961796 }
17971797 }
You can’t perform that action at this time.
0 commit comments