summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2018-06-20 08:37:59 +0900
committerDavid Pursehouse <dpursehouse@collab.net>2018-06-20 08:37:59 +0900
commitccaf58b6a9ccd80d5b5e5f0f501630578f6bea66 (patch)
tree6208371ead3ce5fd9f9d45303afac9ebcf57e8b3
parentba6125a747bfc832fca64b1795e7a9cd89473c7a (diff)
AbstractIndexTests: Add --wide option to show-queue command invocation
By default the output of the command gets truncated to console width, meaning the full project name is not included, and the check for the output including the full name will always return false. Add the --wide option to make sure the full name is always included. Change-Id: I3bf8b68211acd3d9bba49864d2efeb4b53ae0fa7
-rw-r--r--gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/ssh/AbstractIndexTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/ssh/AbstractIndexTests.java b/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/ssh/AbstractIndexTests.java
index 490e315354..208f380dca 100644
--- a/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/ssh/AbstractIndexTests.java
+++ b/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/ssh/AbstractIndexTests.java
@@ -108,7 +108,7 @@ public abstract class AbstractIndexTests extends AbstractDaemonTest {
boolean indexing = true;
while (indexing) {
- String out = adminSshSession.exec("gerrit show-queue");
+ String out = adminSshSession.exec("gerrit show-queue --wide");
adminSshSession.assertSuccess();
indexing = out.contains("Index all changes of project " + project.get());
}