commit | 32f284d67b8fa56ff53c74cd3a04e766efe204ac | [log] [tgz] |
---|---|---|
author | Hugo Arès <hugo.ares@ericsson.com> | Wed Apr 26 14:01:49 2017 +0200 |
committer | Hugo Arès <hugo.ares@ericsson.com> | Wed Apr 26 14:01:49 2017 +0200 |
tree | 152c2f0b613acb837a75c3e82c608f375eff249d | |
parent | 8be599bdf0ff290653ef1a3439098e7c9d11f6e8 [diff] |
Fix CacheEvictionIT test setup 204 is returned when event is successfully forwarded, not 200. Change-Id: I1e505d11299fde5a5ca374a6a3b2767309786057
diff --git a/src/test/java/com/ericsson/gerrit/plugins/highavailability/cache/CacheEvictionIT.java b/src/test/java/com/ericsson/gerrit/plugins/highavailability/cache/CacheEvictionIT.java index bd25a1c..fc492f5 100644 --- a/src/test/java/com/ericsson/gerrit/plugins/highavailability/cache/CacheEvictionIT.java +++ b/src/test/java/com/ericsson/gerrit/plugins/highavailability/cache/CacheEvictionIT.java
@@ -68,7 +68,7 @@ } }); givenThat(post(urlEqualTo(flushRequest)) - .willReturn(aResponse().withStatus(HttpStatus.SC_OK))); + .willReturn(aResponse().withStatus(HttpStatus.SC_NO_CONTENT))); adminSshSession .exec("gerrit flush-caches --cache " + Constants.PROJECT_LIST);