Skip to content

Commit

Permalink
Fix JMX tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spacecowboy committed May 31, 2017
1 parent b20f876 commit 0036a7d
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -66,7 +66,7 @@ public void durationsAlwaysHaveUnitsInJMX() throws Throwable
// Then
ObjectName name = getObjectName( server.getDatabase().getGraph(), ConfigurationBean.CONFIGURATION_MBEAN_NAME );
String attr = getAttribute( name, transaction_timeout.name() );
assertThat( attr, equalTo( "10s" ) );
assertThat( attr, equalTo( "10000ms" ) );
}

@Test
Expand All @@ -82,8 +82,8 @@ public void serverConfigShouldBeVisibleInJMX() throws Throwable

// Then
ObjectName name = getObjectName( server.getDatabase().getGraph(), ConfigurationBean.CONFIGURATION_MBEAN_NAME );
File attr = getAttribute( name, ServerSettings.run_directory.name() );
assertThat( attr.toString(), equalTo( configValue ) );
String attr = getAttribute( name, ServerSettings.run_directory.name() );
assertThat( attr, equalTo( configValue ) );
}

@Test
Expand Down

0 comments on commit 0036a7d

Please sign in to comment.