Excluding files / folders from syncing doesn't work?

Greetings to all.

I just can’t figure out if I’m doing something wrong, or if it really doesn’t work.

according to this instruction Excluding files - Seafile User Manual

Create file in sync library - test

respectively, in seafile-ignore.txt which I put here in the test folder, I write the line
test / *. pdf

so that pdf files are not synchronized in all folders, including the root one, right?

But this does not work, anyway pdf files are synchronized everywhere.

Am I doing something wrong?

Seafile Server 6
Seafile Client 7.0.10 and 8.0.2