update test for pubUpdate change

This commit is contained in:
Josh Faust 2010-06-14 21:30:24 +00:00
parent 3db39ea86a
commit 700b225f8d
1 changed files with 1 additions and 3 deletions

View File

@ -260,9 +260,7 @@ TEST(SubscribeStar, switchTypeInterUDP)
ros::WallDuration(1.0).sleep();
ros::spinOnce();
// UDPROS does not yet detect disconnects. If you've fixed this and num publishers now == 0,
// you may change this assertion
ASSERT_EQ(sub.getNumPublishers(), 1U);
ASSERT_EQ(sub.getNumPublishers(), 0U);
}
int main(int argc, char** argv)