qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kw...@apache.org
Subject qpid-broker-j git commit: QPID-8083 [System Tests] [REST/HTTP] Fix test failure that would occur if working path too long
Date Thu, 15 Feb 2018 20:42:07 GMT
Repository: qpid-broker-j
Updated Branches:
  refs/heads/master 1911d163b -> 91e14a64d


 QPID-8083 [System Tests] [REST/HTTP] Fix test failure that would occur if working path too
long


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/91e14a64
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/91e14a64
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/91e14a64

Branch: refs/heads/master
Commit: 91e14a64da924caa654b8c69a0f27e4c2e694342
Parents: 1911d16
Author: Keith Wall <kwall@apache.org>
Authored: Thu Feb 15 20:41:49 2018 +0000
Committer: Keith Wall <kwall@apache.org>
Committed: Thu Feb 15 20:41:49 2018 +0000

----------------------------------------------------------------------
 .../test/java/org/apache/qpid/tests/http/rest/model/ReadTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/91e14a64/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/rest/model/ReadTest.java
----------------------------------------------------------------------
diff --git a/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/rest/model/ReadTest.java
b/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/rest/model/ReadTest.java
index d33f0b1..10d514c 100644
--- a/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/rest/model/ReadTest.java
+++ b/systests/qpid-systests-http-management/src/test/java/org/apache/qpid/tests/http/rest/model/ReadTest.java
@@ -277,7 +277,7 @@ public class ReadTest extends HttpTestBase
                 final Map<String, Object> attrs = new HashMap<>(base);
                 attrs.put(NonJavaKeyStore.TYPE, "NonJavaKeyStore");
                 attrs.put(NonJavaKeyStore.PRIVATE_KEY_URL, privateKeyFileUrl);
-                getHelper().submitRequest(storeUrl, "PUT", attrs, SC_CREATED);
+                getHelper().submitRequest(String.format("%s?oversize=%d", storeUrl, storeUrl.length()),
"PUT", attrs, SC_CREATED);
 
                 final Map<String, Object> store = getHelper().getJsonAsMap(storeUrl);
                 assertThat(store.get(NonJavaKeyStore.PRIVATE_KEY_URL), is(equalTo(privateKeyFileUrl)));


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message