Skip to content

Commit

Permalink
adjust test due to a bugfix in Solr
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Feb 19, 2025
1 parent 7bcb54e commit af14247
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/src/Kernel/SearchApiSolrTechproductsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,11 @@ public function testStreamingExpressions() {
$exp->_checkpoint('20_products'),
'q="*:*"',
'fl="' . $exp->_field('search_api_id') . '"',
// Rows per shard!
'rows="10"'
'rows="20"'
);
$query = $queryHelper->createQuery($index);
$queryHelper->setStreamingExpression($query, $topic_expression);
$results = $query->execute();
// We have two shards for techproducts. Both return 10 rows.
$this->assertEquals(20, $results->getResultCount());

$query = $queryHelper->createQuery($index);
Expand All @@ -190,7 +188,6 @@ public function testStreamingExpressions() {
$query = $queryHelper->createQuery($index);
$queryHelper->setStreamingExpression($query, $topic_expression);
$results = $query->execute();
// We have two shards for techproducts. Both return 10 rows.
$this->assertEquals(20, $results->getResultCount());
}

Expand Down

0 comments on commit af14247

Please sign in to comment.