-
Notifications
You must be signed in to change notification settings - Fork 19
IBX-11146: Test for solr search with many (50+) languages #703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.6
Are you sure you want to change the base?
Conversation
67d13bb to
5756a07
Compare
tests/integration/Core/Repository/SearchServiceManyLanguagesTest.php
Outdated
Show resolved
Hide resolved
|
|
||
| try { | ||
| $languageService->createLanguage($langCreateStruct); | ||
| } catch (Exception $e) { |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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.
042bc24 to
d662280
Compare
d662280 to
e31ab95
Compare
|



Related PRs:
Description:
For QA:
Documentation: