mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
6f5f13795a
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>
26 lines
767 B
Makefile
26 lines
767 B
Makefile
|
|
srcdir=@srcdir@
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
include @TOP_OBJDIR@/src/config/Makefile.pthread
|
|
include @TOP_OBJDIR@/src/config/Makefile.libtool
|
|
|
|
MODULE_CFLAGS=-I$(TOP_OBJDIR)
|
|
|
|
LT_objs = config.lo exec.lo files.lo misc.lo network.lo rxkad.lo servers.lo \
|
|
ubik.lo
|
|
LT_libs = $(LIB_rfc3961) $(LIB_roken)
|
|
LT_deps = $(top_builddir)/tests/tap/libafstest_tap.la \
|
|
$(top_builddir)/src/ubik/liboafs_ubik.la \
|
|
$(top_builddir)/src/util/liboafs_util.la
|
|
|
|
all: libafstest_common.la
|
|
|
|
# This library is just used internally for our tests, so use
|
|
# LT_LDLIB_shlib_internal so we don't need to manage a .sym export list.
|
|
libafstest_common.la: $(LT_objs) $(LT_deps)
|
|
$(LT_LDLIB_shlib_internal) $(LT_objs) $(LT_deps) $(LT_libs)
|
|
|
|
clean:
|
|
$(LT_CLEAN)
|
|
rm -f *.o
|