Merge "Skip pthread.pthread_create__mmap_failures with native_bridge"

This commit is contained in:
Evgeny Eltsin 2020-06-09 19:38:23 +00:00 committed by Gerrit Code Review
commit 15cbad3f59

View file

@ -2821,6 +2821,9 @@ TEST(pthread, pthread_attr_getdetachstate__pthread_attr_setdetachstate) {
}
TEST(pthread, pthread_create__mmap_failures) {
// After thread is successfully created, native_bridge might need more memory to run it.
SKIP_WITH_NATIVE_BRIDGE;
pthread_attr_t attr;
ASSERT_EQ(0, pthread_attr_init(&attr));
ASSERT_EQ(0, pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED));