This is an automated email from the ASF dual-hosted git repository.

bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit 978c7609e7fd2a26fbefe2e4a3712a665cad5d70
Author: Benjamin Bannier <[email protected]>
AuthorDate: Fri Aug 23 13:03:11 2019 +0200

    Sped up `ExampleTest.DiskFullFramework` test.
    
    This patch lowers the authentication timeout and increases the disk
    watch interval which can speed up the test by about 10s.
    
    Review: https://reviews.apache.org/r/71351/
---
 src/tests/disk_full_framework_test.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/tests/disk_full_framework_test.sh 
b/src/tests/disk_full_framework_test.sh
index 15b45aa..62e62cb 100755
--- a/src/tests/disk_full_framework_test.sh
+++ b/src/tests/disk_full_framework_test.sh
@@ -24,6 +24,11 @@ export MESOS_SYSTEMD_ENABLE_SUPPORT=false
 export MESOS_ISOLATION='disk/du'
 export MESOS_ENFORCE_CONTAINER_DISK_QUOTA=1
 export MESOS_RESOURCES="cpus:1;mem:96;disk:50"
+export MESOS_CONTAINER_DISK_WATCH_INTERVAL="100ms"
+
+# Lower the authentication timeout to speed up the test (the master
+# may drop the authentication message while it is recovering).
+export MESOS_AUTHENTICATION_TIMEOUT=200ms
 
 # The main event!
 "${MESOS_HELPER_DIR}"/disk-full-framework \

Reply via email to