aboutsummaryrefslogtreecommitdiff
path: root/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestIndexingSolrJ.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestIndexingSolrJ.groovy')
-rw-r--r--bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestIndexingSolrJ.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestIndexingSolrJ.groovy b/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestIndexingSolrJ.groovy
index b02c072d..db09e306 100644
--- a/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestIndexingSolrJ.groovy
+++ b/bigtop-tests/test-artifacts/solr/src/main/groovy/org/apache/bigtop/itest/solr/smoke/TestIndexingSolrJ.groovy
@@ -83,10 +83,10 @@ class TestIndexingSolrJ extends SolrTestBase {
query.setRows(1000)
QueryResponse qr = _server.query(query, SolrRequest.METHOD.POST)
Object o = qr.getHeader().get("status")
- Assert.assertEquals(qr.getHeader().get("status"), 0)
+ Assert.assertEquals(0, qr.getHeader().get("status"))
SolrDocumentList sdl = qr.getResults()
- Assert.assertEquals(sdl.size(), docIds.length)
+ Assert.assertEquals(docIds.length, sdl.size())
for (SolrDocument doc : sdl) {
Assert.assertTrue(docIds.contains(doc.get("id")))
}