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.
This commit is contained in:
Cole Helbling 2021-12-17 12:33:10 -08:00 committed by Graham Christensen
parent e72d2225e9
commit 35f55279c1

View file

@ -189,7 +189,7 @@ sub write_file {
}
sub rand_chars {
return sprintf("%08X", rand(0xFFFFFFFF));
return sprintf("t%08X", rand(0xFFFFFFFF));
}
1;