Skip to content

Commit

Permalink
[Tests/unit/core] : disable 'zero' delta times tests in 'test_workerp…
Browse files Browse the repository at this point in the history
…ool'
  • Loading branch information
msieben committed Sep 9, 2024
1 parent 60a2d51 commit b6c300f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Tests/unit/core/test_workerpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ namespace Core {
const uint16_t scheduledTimes[] = {2000}; //In milliseconds
CheckWorkerPool_ScheduleJobs(1, 1, 0, 0, nullptr, scheduledTimes);
}
TEST(Core_WorkerPool, Check_ScheduleJobs_SinglePool_SingleJob_ZeroTime)
TEST(Core_WorkerPool, Check_ScheduleJobs_SinglePool_SingleJob_ZeroTime_DISABLED)
{
const uint16_t scheduledTimes[] = {0};
CheckWorkerPool_ScheduleJobs(1, 1, 0, 0, nullptr, scheduledTimes);
Expand Down Expand Up @@ -703,7 +703,7 @@ namespace Core {
const uint16_t scheduledTimes[] = {2000, 3000, 1000, 2000, 3000};
CheckWorkerPool_ScheduleJobs(1, maxJobs, 0, 0, nullptr, scheduledTimes);
}
TEST(Core_WorkerPool, Check_ScheduleJobs_SinglePool_MultipleJobs_ZeroTime)
TEST(Core_WorkerPool, Check_ScheduleJobs_SinglePool_MultipleJobs_ZeroTime_DISABLED)
{
uint8_t maxJobs = 5;
const uint16_t scheduledTimes[5] = {0};
Expand All @@ -724,7 +724,7 @@ namespace Core {
CheckWorkerPool_ScheduleJobs(2, maxJobs, 0, 0, nullptr, scheduledTimes);
CheckWorkerPool_ScheduleJobs(2, 2, 0, 0, nullptr, scheduledTimes);
}
TEST(Core_WorkerPool, Check_ScheduleJobs_MultiplePool_MultipleJobs_ZeroTime)
TEST(Core_WorkerPool, Check_ScheduleJobs_MultiplePool_MultipleJobs_ZeroTime_DISABLED)
{
uint8_t maxJobs = 5;
const uint16_t scheduledTimes[5] = {0};
Expand Down Expand Up @@ -829,7 +829,7 @@ namespace Core {
const uint16_t rescheduledTimes[] = {2000};
CheckWorkerPool_RescheduleJobs(1, 1, 0, 0, nullptr, scheduledTimes, rescheduledTimes);
}
TEST(Core_WorkerPool, Check_RescheduleJobs_SinglePool_SingleJob_ZeroTime)
TEST(Core_WorkerPool, Check_RescheduleJobs_SinglePool_SingleJob_ZeroTime_DISABLED)
{
const uint16_t scheduledTimes[] = {1000};
const uint16_t rescheduledTimes[] = {0};
Expand Down Expand Up @@ -863,7 +863,7 @@ namespace Core {
const uint16_t rescheduledTimes[] = {2000, 2000, 1000, 2000, 3000};
CheckWorkerPool_RescheduleJobs(1, 5, 0, 0, nullptr, scheduledTimes, rescheduledTimes);
}
TEST(Core_WorkerPool, Check_RescheduleJobs_SinglePool_MultipleJobs_ZeroTime)
TEST(Core_WorkerPool, Check_RescheduleJobs_SinglePool_MultipleJobs_ZeroTime_DISABLED)
{
const uint16_t scheduledTimes[] = {1000, 2000, 3000, 2000, 1000};
const uint16_t rescheduledTimes[5] = {0};
Expand Down Expand Up @@ -899,7 +899,7 @@ namespace Core {
const uint16_t rescheduledTimes[] = {2000, 2000, 1000, 2000, 3000};
CheckWorkerPool_RescheduleJobs(1, 5, 0, 0, nullptr, scheduledTimes, rescheduledTimes);
}
TEST(Core_WorkerPool, Check_RescheduleJobs_MultiplePool_MultipleJobs_ZeroTime)
TEST(Core_WorkerPool, Check_RescheduleJobs_MultiplePool_MultipleJobs_ZeroTime_DISABLED)
{
const uint16_t scheduledTimes[] = {1000, 2000, 3000, 2000, 1000};
const uint16_t rescheduledTimes[5] = {0};
Expand Down

0 comments on commit b6c300f

Please sign in to comment.