Skip to content

Commit

Permalink
Fixed JmxTest
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jul 5, 2024
1 parent 3798812 commit e16b351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/junit-functional/org/jgroups/tests/JmxTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ public void testAdditionalJmxObjects() throws Exception {
JmxConfigurator.register(objs, server, "jmxtest:name=additional_obj");
ObjectName n=new ObjectName("jmxtest:name=additional_obj");

Object val=getAttribute(n, "num_msgs_sent");
Object val=getAttribute(n, "additional_info.num_msgs_sent");
assert (int)val == 0;
val=getAttribute(n, "num_msgs_received");
val=getAttribute(n, "additional_info.num_msgs_received");
assert (int)val == 0;
}

Expand Down

0 comments on commit e16b351

Please sign in to comment.