diff --git a/tests/sys/fs/fusefs/write.cc b/tests/sys/fs/fusefs/write.cc index 37d817484a8c..0f0313d976bc 100644 --- a/tests/sys/fs/fusefs/write.cc +++ b/tests/sys/fs/fusefs/write.cc @@ -65,19 +65,6 @@ void expect_release(uint64_t ino, ProcessMockerT r) ).WillRepeatedly(Invoke(r)); } -void require_sync_resize_0() { - const char *sync_resize_node = "vfs.fusefs.sync_resize"; - int val = 0; - size_t size = sizeof(val); - - ASSERT_EQ(0, sysctlbyname(sync_resize_node, &val, &size, NULL, 0)) - << strerror(errno); - if (val != 0) - GTEST_SKIP() << - "vfs.fusefs.sync_resize must be set to 0 for this test." - " That sysctl will probably be removed soon."; -} - }; class AioWrite: public Write { @@ -192,8 +179,6 @@ TEST_F(Write, append) uint64_t initial_offset = m_maxbcachebuf; int fd; - require_sync_resize_0(); - expect_lookup(RELPATH, ino, initial_offset); expect_open(ino, 0, 1); expect_write(ino, initial_offset, BUFSIZE, BUFSIZE, 0, CONTENTS);