Skip to content

Commit 7c3fbe6

Browse files
committed
fix(tests_suite_test.go): shortening the rand int
app names can’t be longer than 24 chars: https://github.com/deis/workflow/blob/master/rootfs/api/south_migrations /0025_auto__chg_field_app_id.py#L13
1 parent 0a2fb3f commit 7c3fbe6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_tests/tests_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func init() {
2828
}
2929

3030
func getRandAppName() string {
31-
return fmt.Sprintf("apps-test-%d", rand.Int())
31+
return fmt.Sprintf("test-%d", rand.Intn(1000))
3232
}
3333

3434
func TestTests(t *testing.T) {

0 commit comments

Comments
 (0)