OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-119-g6f5f137

Gerrit Code Review gerrit@openafs.org
Wed, 27 Oct 2021 01:07:29 -0400


The following commit has been merged in the master branch:
commit 6f5f13795a2176062e7a69d7bcf883c88ea10fe6
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Sep 16 23:05:07 2020 -0500

    tests: Check for vlserver startup
    
    Currently, afstest_StartVLServer waits for a fixed amount of time (5
    seconds) for the vlserver to startup. This means each test that runs a
    vlserver takes at least 5 seconds, which adds up very quickly when new
    tests are added for vlserver functionality.
    
    Instead of waiting 5 seconds each time, change afstest_StartVLServer
    to check if the vlserver has started up, and to wait a much shorter
    time if it hasn't finished starting up yet. Specifically, wait until
    the "Starting AFS vlserver" message appears in VLLog, and the
    UBIK_RECHAVEDB recovery state bit is set. This allows vlserver-based
    tests to run much more quickly.
    
    Change-Id: I74015670a301980e6d89b3149ed9f2a6c1a40523
    Reviewed-on: https://gerrit.openafs.org/14804
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 tests/common/Makefile.in |   1 +
 tests/common/common.h    |   1 +
 tests/common/files.c     |  39 ++++++++++++++++
 tests/common/servers.c   | 116 ++++++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 145 insertions(+), 12 deletions(-)

-- 
OpenAFS Master Repository