fix:disable unit test for windows/mac
This commit is contained in:
parent
3559188dfa
commit
9ff749be73
|
@ -247,8 +247,10 @@ TEST(osSemaphoreTests, Performance4_2) {
|
|||
}
|
||||
|
||||
TEST(osSemaphoreTests, GetPID) {
|
||||
#ifdef LINUX
|
||||
pid_t pid = 0;
|
||||
int32_t ret = taosGetPIdByName("osSemaphoreTest", &pid);
|
||||
EXPECT_EQ(ret, 0);
|
||||
EXPECT_EQ(pid, taosGetPId());
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue