ensure time delay in time based test

On some faster machines, the TimeBasedIDTest fails due to there being no
time difference between the time based ID's. Ensure there is always a
time difference with a delay.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If69c3aead8010f016e13d44f1e106cbc31d0b046
diff --git a/test/openpower-pels/log_id_test.cpp b/test/openpower-pels/log_id_test.cpp
index 93dff83..7167dd7 100644
--- a/test/openpower-pels/log_id_test.cpp
+++ b/test/openpower-pels/log_id_test.cpp
@@ -18,7 +18,9 @@
 
 #include <arpa/inet.h>
 
+#include <chrono>
 #include <filesystem>
+#include <thread>
 
 #include <gtest/gtest.h>
 
@@ -35,6 +37,7 @@
         EXPECT_EQ(id & 0xFF000000, 0x50000000);
         EXPECT_NE(id, lastID);
         lastID = id;
+        std::this_thread::sleep_for(std::chrono::milliseconds(1));
     }
 }