Skip to content

test(storage): do not depend on the server locale in the list assertion - #55

Merged
marevol merged 1 commit into
fix/response-fields-and-limitsfrom
test/locale-independent-storage-assertion
Nov 15, 2026
Merged

marevol merged 1 commit into
fix/response-fields-and-limitsfrom
test/locale-independent-storage-assertion

Conversation

@marevol

@marevol marevol commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

test_storage_list_without_backend matched the English words "storage access error". Fess localizes that message, so the test fails against a server whose default locale is not English. The wording also differs between an install with and without a storage plugin. From 15.9 an unreachable storage is a failure, so the test now checks the exit code and fessctl's own Status code: 1 line instead of the server's message; earlier releases keep the previous check.

Tests

  • The integration suite passes against Fess 15.9.0 and a 15.10 snapshot.

Stacked on the previous PR in this series.

test_storage_list_without_backend matched the English words "storage access
error", which Fess localizes (it is Japanese on a server running with a
Japanese default locale). From 15.9 an unreachable storage is a failure, and
the server's wording also differs between installs with and without a storage
plugin, so the test now checks the exit code and fessctl's own "Status code"
line instead of the server's message.
@marevol
marevol force-pushed the test/locale-independent-storage-assertion branch from 7b1f3da to 55a9387 Compare November 15, 2026 09:53
@marevol
marevol added this pull request to stack #61 November 15, 2026 10:52
@marevol marevol self-assigned this Nov 15, 2026
@marevol marevol added this to the 0.5.0 milestone Nov 15, 2026
@marevol
marevol merged commit 9b9d4f3 into main Nov 15, 2026
10 checks passed
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.

1 participant