Skip to content
Snippets Groups Projects
Commit 1b34d3d5 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

test: fix flaky box/func_reload test

This commit fixes the following failure:

```
--- box/func_reload.result        Fri Dec  3 15:15:05 2021
+++ var/rejects/box/func_reload.reject    Fri Dec  3 15:15:12 2021
@@ -202,11 +202,11 @@
 ...
 ch:get()
 ---
+- [[2]]
+...
+ch:get()
+---
 - [[1]]
-...
-ch:get()
----
-- [[2]]
 ...
 s:drop()
 ---
```

The function reloaded in this test yields, so there's no guarantee that
the first reload completes before the second one. Fix this by discarding
`ch:get()` result.

Closes https://github.com/tarantool/tarantool-qa/issues/15
parent d9b8c0db
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment