kstyrc / embedded-redis

Redis embedded server for Java integration testing
854 stars 371 forks source link

Make OS check case-insensitive for Windows #9

Closed SeanSimonsen closed 10 years ago

SeanSimonsen commented 10 years ago

On my system, System.getProperty("os.name") yields "Windows 7", and System.getProperty("os.arch") yields "amd64".

kstyrc commented 10 years ago

Hi, thanks for the contribution and sorry for the delay...

federico-piazza commented 7 years ago

Doing this worked for me:

RedisServer redisServer = RedisServer.builder()
  .port(6379)
  .setting("maxheap 128M")
  .build();