change makefile to accept "start" and "stop" to be able to start the testing environment and stopping it for manual testing purposes.

raising down-after-milliseconds of sentinel 1 to avoid taking the master down and up all the time.
change sleep to 10 seconds after doing a "salveof" to avoid false negatives.
This commit is contained in:
Jonathan Leibiusky
2013-09-02 18:13:14 -03:00
parent 39d81d8f1f
commit fddd41d796
2 changed files with 21 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ public class JedisSentinelTest {
// TODO: The sleep is to give time to the slave to synchronize with the
// master and also let know the sentinels about this new topology. We
// should find a better way to do this.
Thread.sleep(5000);
Thread.sleep(10000);
}
@After