Documents missing after indexing and refreshing

Thank you for your answer.
I modified this test case to create two nodes cluster.
And now: "Record wasn't found after 10s but can be get by id" error happens
much less but still exists.
"Record found after 100 m" error happens very often - refresh operation
doesn't work well even in two nodes cluster.