Add synchronization after file operations 71/36971/2
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Tue, 17 Mar 2015 14:27:16 +0000 (15:27 +0100)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Tue, 17 Mar 2015 14:44:09 +0000 (15:44 +0100)
commit1fa1192276c890e558fc168dd9a4bfb780f8132e
tree4eb31642526a7b17468662426b876722157fb829
parent271ac5ac762bcd7e1f9e45e1b0643f31a40d07ce
Add synchronization after file operations

After creating, copying and removing files program should
wait on disc synchronization, otherwise test can fail, e.g.
when we swap database files and start cynara, which loads
old not-yet-synchronized version of db.

Change-Id: Ie5c26da859e4e2a88311bb68ed7a0138b98e87d7
src/cynara-tests/common/cynara_test_file_operations.cpp
src/cynara-tests/common/cynara_test_file_operations.h