[test] Let snpe test exit generously
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 11 Sep 2023 07:46:03 +0000 (16:46 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 12 Sep 2023 02:44:31 +0000 (11:44 +0900)
- Sleep a while when the negative pipeline test exits.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
tests/nnstreamer_filter_snpe/unittest_filter_snpe.cc

index 23ad356..4c51b46 100644 (file)
@@ -433,6 +433,7 @@ TEST (nnstreamerFilterSnpe, launch04_n)
   ASSERT_TRUE (gstpipe != nullptr);
 
   EXPECT_NE (setPipelineStateSync (gstpipe, GST_STATE_PLAYING, UNITTEST_STATECHANGE_TIMEOUT), 0);
+  g_usleep (100000);
 
   gst_object_unref (gstpipe);
   g_free (pipeline);