I'm using http://ift.tt/1O7NiKg to run an embedded Redis for tests.
On tests I check Redis is empty intially:
Set<Tuple> ranking = redisService.getRanking(key, 0, -1); Assert.assertTrue(ranking.isEmpty());
On local, no matter how many times tests have been executed, on start Redis is always empty.
However on CodeShip that's not true. Seems like is persisting data because the previous assert fails. Before the assert I'm printing values of Redis and I've can verify there is data on Redis before my tests are executed.
Someone knows what's going on?
Aucun commentaire:
Enregistrer un commentaire