diff --git a/testsuite/expect/test17.51 b/testsuite/expect/test17.51
index 95439b3fa293a8d174dfdea6825d46f6f2771899..6f2ac25527ea3f4eef27c7dfea0115a03489d9fc 100755
--- a/testsuite/expect/test17.51
+++ b/testsuite/expect/test17.51
@@ -223,7 +223,7 @@ if {$found == 0} {
 set found 0
 #test sacct if accounting, wait a few seconds for accounting data to reach DB
 if { [test_account_storage] != 0 } {
-	sleep 3
+	sleep 5
 	spawn $sacct -j $job_id --noheader -o "mcslabel"
 	expect {
 		-re "$user_name" {