From 3a7d56b3078906f66e59a96f03d1e36fc27c7460 Mon Sep 17 00:00:00 2001 From: Sebastien Buisson Date: Thu, 23 Jul 2015 14:13:53 +0200 Subject: [PATCH] LU-6356 tests: add delay in tgt_handle_request0 for ctx init Add OBD_FAIL_SEC_CTX_HDL_PAUSE in tgt_handle_request0() for SEC_CTX_* cases. It will induce a delay in gss context negotiation, useful for sanity-krb5 test_8. Signed-off-by: Sebastien Buisson Change-Id: I5bc85e234dd72665f3ab654e60d8a07b40948684 Reviewed-on: http://review.whamcloud.com/15709 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Dmitry Eremin Reviewed-by: John L. Hammond Reviewed-by: Oleg Drokin --- lustre/target/tgt_handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/target/tgt_handler.c b/lustre/target/tgt_handler.c index 40b4c02..53a7867 100644 --- a/lustre/target/tgt_handler.c +++ b/lustre/target/tgt_handler.c @@ -389,6 +389,7 @@ static int tgt_handle_request0(struct tgt_session_info *tsi, case SEC_CTX_INIT: case SEC_CTX_INIT_CONT: case SEC_CTX_FINI: + CFS_FAIL_TIMEOUT(OBD_FAIL_SEC_CTX_HDL_PAUSE, cfs_fail_val); GOTO(out, rc = 0); } -- 1.8.3.1