summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-12-02 15:35:51 -0800
committergVisor bot <gvisor-bot@google.com>2019-12-02 15:37:17 -0800
commitb41277049c6c6c15581d8698fd9418ef9c2cec8a (patch)
treea2c540127d621a1a7af9e15def242d748568813c /test/syscalls/linux
parent9194aab2aaada137b377fdfcb812a7c015857d5d (diff)
test/syscal: Don't skip ClockGettime.CputimeId
We skipped it due to the issue in the golang scheduler which has been fixed in go1.13. PiperOrigin-RevId: 283432226
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r--test/syscalls/linux/clock_gettime.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/syscalls/linux/clock_gettime.cc b/test/syscalls/linux/clock_gettime.cc
index 2aa91691e..7f6015049 100644
--- a/test/syscalls/linux/clock_gettime.cc
+++ b/test/syscalls/linux/clock_gettime.cc
@@ -56,11 +56,6 @@ void spin_ns(int64_t ns) {
// Test that CLOCK_PROCESS_CPUTIME_ID is a superset of CLOCK_THREAD_CPUTIME_ID.
TEST(ClockGettime, CputimeId) {
- // TODO(b/128871825,golang.org/issue/10958): Test times out when there is a
- // small number of core because one goroutine starves the others.
- printf("CPUS: %d\n", std::thread::hardware_concurrency());
- SKIP_IF(std::thread::hardware_concurrency() <= 2);
-
constexpr int kNumThreads = 13; // arbitrary
absl::Duration spin_time = absl::Seconds(1);