Commit Graph
4 Commits
Author SHA1 Message Date
Nick Craig-Wood 4e5d4d041d bisync: compare only test specific log lines in most golden tests
Every bisync golden log contained the same boilerplate log messages,
so changing the wording of one of them changed nearly every golden
log. This made independent changes to bisync conflict with each other
when merging.

Compare the log in full only for the basic, check_access, dry_run,
filters and resync test cases, which between them pin the wording and
order of the common messages. For all other test cases compare only
the lines specific to the test: the test steps, anything logged at
NOTICE or ERROR level, and INFO lines about a named file, directory
or path.

A common log message now appears in 5 golden logs rather than 29.
Listings and queue files are compared exactly as before.
2026-10-13 10:54:35 +01:00
nielash 9e200531b1 bisync: use unique stats groups on tests 2025-08-30 17:46:33 +01:00
nielash 30517698aa bisync: make session path even shorter on tests
The .lck file filename length needs to be less than 255 bytes (not symbols) on
linux, and it was still too long on this test, because of the
subdir=測試_Русский_{spc}_{spc}_ě_áñ
on remotes with long names, such as TestChunkerChunk3bNoRenameLocal:
2024-04-16 14:45:54 -04:00
nielash 2c7680050b bisync: rename extended_char_paths test
The .lck file filename length needs to be less than 255 bytes (not symbols) on
linux, and it was still too long on this test, because of the
subdir=測試_Русский_{spc}_{spc}_ě_áñ
2024-04-11 16:27:20 +01:00