Fix ds_test
hang - remove unsafe condition_variable
#5119
Merged
ds_test
hang - remove unsafe condition_variable
#5119