From 35f55279c173727c164b4059c106345b03c39f96 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Fri, 17 Dec 2021 12:33:10 -0800 Subject: [PATCH] HydraTestContext: prefix names with t This is necessary because jobset and project names are not allowed to begin with a digit, and yet the generated jobset and project names would do just that. Not the most elegant solution, but it works. --- t/lib/HydraTestContext.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lib/HydraTestContext.pm b/t/lib/HydraTestContext.pm index 38a26ef6..43806c6f 100644 --- a/t/lib/HydraTestContext.pm +++ b/t/lib/HydraTestContext.pm @@ -189,7 +189,7 @@ sub write_file { } sub rand_chars { - return sprintf("%08X", rand(0xFFFFFFFF)); + return sprintf("t%08X", rand(0xFFFFFFFF)); } 1;