test/datareposinK: timing error in test case
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 7 Feb 2024 07:53:37 +0000 (16:53 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 15 Feb 2024 07:20:03 +0000 (16:20 +0900)
commit9c4b740e5921d1c4f4fae547733c41fa0bacf851
tree1254807f8c3390e014fa725030abf5e96debe620
parent817f4b5e8bb77087b39de8331677db299e27783f
test/datareposinK: timing error in test case

Occasionally, in github-action CI, datareposink.writeFlexibleTensors_n
fails due to synchronization errors:

```
[ RUN      ] datareposink.writeFlexibleTensors_n
../tests/nnstreamer_datarepo/unittest_datareposink.cc:570: Failure
Expected: (file_info) != (nullptr), actual: NULL vs (nullptr)
[  FAILED  ] datareposink.writeFlexibleTensors_n (173 ms)
```

It happens when the pipeline is set NULL before the file 'flexible.data'
is writtn within the pipeline.
Allow some time (0.1s) before setting it NULL.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
tests/nnstreamer_datarepo/unittest_datareposink.cc