DATAREDIS-634 - Polishing.

Enable Keyspace events in RedisKeyValueAdapterTests. Depending on the test order, Redis might miss the required notify-keyspace-events configuration.
This commit is contained in:
Mark Paluch
2017-04-24 16:17:07 +02:00
parent cd789f9722
commit dfbdd95fda

View File

@@ -113,6 +113,14 @@ public class RedisKeyValueAdapterTests {
return null;
}
});
RedisConnection connection = template.getConnectionFactory().getConnection();
try {
connection.setConfig("notify-keyspace-events", "KEA");
} finally {
connection.close();
}
}
@After