Skip to content

Commit

Permalink
Fix a test that failed on a int/long type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvest committed May 26, 2017
1 parent b268b9a commit caa73ff
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -60,8 +60,8 @@ public void shouldFitAsManyPagesAsItCan() throws Throwable
{
// Given
final int pageSize = 8192;
final int maxPages = 60;
Config config = Config.embeddedDefaults( stringMap( pagecache_memory.name(), Integer.toString( pageSize * maxPages ) ) );
final long maxPages = 60;
Config config = Config.embeddedDefaults( stringMap( pagecache_memory.name(), Long.toString( pageSize * maxPages ) ) );

// When
ConfiguringPageCacheFactory factory = new ConfiguringPageCacheFactory(
Expand Down

0 comments on commit caa73ff

Please sign in to comment.