Skip to content

Commit e851d08

Browse files
committed
Improve passwords
1 parent 23c5e3e commit e851d08

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

resources/create_test_cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
)
2626
parser.add_option(
2727
'-p', '--password',
28-
default=secrets.token_urlsafe(20) + '-x&',
28+
default=secrets.token_urlsafe(20) + '-x&$',
2929
help='admin password',
3030
)
3131
parser.add_option(

singlestoredb/tests/test_management.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def setUpClass(cls):
3535
cls.manager = s2.manage_cluster()
3636

3737
us_regions = [x for x in cls.manager.regions if 'US' in x.name]
38-
cls.password = secrets.token_urlsafe(20) + '-x&'
38+
cls.password = secrets.token_urlsafe(20) + '-x&$'
3939

4040
cls.cluster = cls.manager.create_cluster(
4141
clean_name('cm-test-{}'.format(secrets.token_urlsafe(20)[:20])),
@@ -201,7 +201,7 @@ def setUpClass(cls):
201201
cls.manager = s2.manage_workspaces()
202202

203203
us_regions = [x for x in cls.manager.regions if 'US' in x.name]
204-
cls.password = secrets.token_urlsafe(20)
204+
cls.password = secrets.token_urlsafe(20) + '-x&$'
205205

206206
name = clean_name(secrets.token_urlsafe(20)[:20])
207207

@@ -375,7 +375,7 @@ def setUpClass(cls):
375375
cls.manager = s2.manage_workspaces()
376376

377377
us_regions = [x for x in cls.manager.regions if 'US' in x.name]
378-
cls.password = secrets.token_urlsafe(20)
378+
cls.password = secrets.token_urlsafe(20) + '-x&$'
379379

380380
name = clean_name(secrets.token_urlsafe(20)[:20])
381381

@@ -839,7 +839,7 @@ def setUpClass(cls):
839839
cls.manager = s2.manage_workspaces()
840840

841841
us_regions = [x for x in cls.manager.regions if 'US' in x.name]
842-
cls.password = secrets.token_urlsafe(20)
842+
cls.password = secrets.token_urlsafe(20) + '-x&$'
843843

844844
name = clean_name(secrets.token_urlsafe(20)[:20])
845845

@@ -898,7 +898,7 @@ def setUpClass(cls):
898898
cls.manager = s2.manage_workspaces()
899899

900900
us_regions = [x for x in cls.manager.regions if 'US' in x.name]
901-
cls.password = secrets.token_urlsafe(20)
901+
cls.password = secrets.token_urlsafe(20) + '-x&$'
902902

903903
name = clean_name(secrets.token_urlsafe(20)[:20])
904904

0 commit comments

Comments
 (0)