Skip to content

Commit

Permalink
RedisRunner.dir() should return either user value or default value
Browse files Browse the repository at this point in the history
  • Loading branch information
jackygurui committed Apr 20, 2017
1 parent 6417459 commit 032c53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redisson/src/test/java/org/redisson/RedisRunner.java
Expand Up @@ -828,7 +828,7 @@ public String defaultDir() {
}

public String dir() {
return this.path;
return isRandomDir() ? defaultDir() : this.path;
}

public String getInitialBindAddr() {
Expand Down

0 comments on commit 032c53f

Please sign in to comment.