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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user