Skip to content

Commit 720cbed

Browse files
authored
(RclJava) Fix Node.testPubUInt32MultipleNodes() error (#133)
1 parent 7fb3dfe commit 720cbed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rcljava/src/test/java/org/ros2/rcljava/node/NodeTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ public Node getNode() {
837837
executor.addNode(composableSubscriptionNodeOne);
838838
executor.addNode(composableSubscriptionNodeTwo);
839839

840-
while (RCLJava.ok() && !futureOne.isDone() && !futureTwo.isDone()) {
840+
while (RCLJava.ok() && !(futureOne.isDone() && futureTwo.isDone())) {
841841
publisher.publish(msg);
842842
executor.spinSome();
843843
}

0 commit comments

Comments
 (0)