Skip to content

Commit

Permalink
Merge pull request #17962 from gartung/IOMC_RandomEngine_test_fix_cla…
Browse files Browse the repository at this point in the history
…ng_warning

IOMC/RandomEngine/test fix bug in initialization of sleep timer.
  • Loading branch information
cmsbuild committed Mar 18, 2017
2 parents e3afcc8 + dd01668 commit acfe935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IOMC/RandomEngine/test/TestRandomNumberServiceGlobal.cc
Expand Up @@ -188,7 +188,7 @@ TestRandomNumberServiceGlobal::analyze(edm::StreamID streamID, edm::Event const&

// Add some sleep to encourage all the streams to get events to process.
if(nStreams_ > 1) {
sleep(0.025);
usleep(25000);
}

if(dump_) {
Expand Down

0 comments on commit acfe935

Please sign in to comment.