From 5885d97b7df787ccd64777174b59c48e6dbfaa06 Mon Sep 17 00:00:00 2001 From: John Dickinson Date: Fri, 17 Jun 2016 12:24:57 -0700 Subject: [PATCH] added note to testFileSizeLimit functional test Change-Id: I0323ff2511506c354db3416f1b37ede772acaedb --- test/functional/tests.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/functional/tests.py b/test/functional/tests.py index d083aa10c2..1f9e9b4504 100644 --- a/test/functional/tests.py +++ b/test/functional/tests.py @@ -1861,6 +1861,16 @@ class TestFile(Base): else: return False + # This loop will result in fallocate calls for 4x the limit + # (minus 111 bytes). With fallocate turned on in the object servers, + # this may fail if you don't have 4x the limit available on your + # data drives. + + # Note that this test does not actually send any data to the system. + # All it does is ensure that a response (success or failure) comes + # back within 3 seconds. For the successful tests (size smaller + # than limit), the cluster will log a 499. + for i in (limit - 100, limit - 10, limit - 1, limit, limit + 1, limit + 10, limit + 100):