Skip to content

IBX-11146: Test for solr search with many (50+) languages#703

Open
ViniTou wants to merge 2 commits into4.6from
ibx-11146-integration-test-for-solr-languages
Open

IBX-11146: Test for solr search with many (50+) languages#703
ViniTou wants to merge 2 commits into4.6from
ibx-11146-integration-test-for-solr-languages

Conversation

@ViniTou
Copy link
Contributor

@ViniTou ViniTou commented Jan 20, 2026

@ViniTou ViniTou changed the base branch from main to 4.6 January 20, 2026 13:54
@ViniTou ViniTou force-pushed the ibx-11146-integration-test-for-solr-languages branch from 38650d4 to 67d13bb Compare January 20, 2026 14:16

try {
$languageService->createLanguage($langCreateStruct);
} catch (Exception $e) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could narrow it down to \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException

$languages[] = $code;
}

// Perform search with all languages
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems obvious, maybe let's remove it?

} catch (Exception $e) {
$this->fail('Search failed with many languages: ' . $e->getMessage());
}
$this->expectNotToPerformAssertions();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like we should assert to some minimal extent if the result of findContent makes sense.

@ViniTou ViniTou requested review from alongosz and barw4 January 30, 2026 11:25
@ViniTou ViniTou force-pushed the ibx-11146-integration-test-for-solr-languages branch from 042bc24 to d662280 Compare January 30, 2026 11:26
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants