The following commit has been merged in the master branch:
commit 6f5f13795a2176062e7a69d7bcf883c88ea10fe6
Author: Andrew Deason <[email protected]>
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 <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

 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
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to