Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
34089b0d
Commit
34089b0d
authored
6 months ago
by
Georgy Moshkin
Browse files
Options
Downloads
Patches
Plain Diff
test: fix ux test
parent
c3e27cbf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1109
Gmoshkin/setup logger asap
Pipeline
#50586
failed
6 months ago
Stage: test
Stage: docker
Stage: stress-test
Stage: front-deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/int/test_joining.py
+9
-7
9 additions, 7 deletions
test/int/test_joining.py
with
9 additions
and
7 deletions
test/int/test_joining.py
+
9
−
7
View file @
34089b0d
...
...
@@ -425,14 +425,14 @@ def test_pico_service_invalid_requirements_password(cluster: Cluster):
with
open
(
password_file
,
"
wb
"
)
as
f
:
f
.
write
(
b
"
\x80
"
)
i1
.
service_password_file
=
password_file
lc
=
log_crawler
(
i1
,
"
ERROR
: service password must be encoded as utf-8
"
)
lc
=
log_crawler
(
i1
,
"
CRITICAL
: service password must be encoded as utf-8
"
)
i1
.
fail_to_start
()
lc
.
wait_matched
()
with
open
(
password_file
,
"
w
"
)
as
f
:
pass
i1
.
service_password_file
=
password_file
lc
=
log_crawler
(
i1
,
"
ERROR
: service password cannot be empty
"
)
lc
=
log_crawler
(
i1
,
"
CRITICAL
: service password cannot be empty
"
)
i1
.
fail_to_start
()
lc
.
wait_matched
()
...
...
@@ -440,7 +440,7 @@ def test_pico_service_invalid_requirements_password(cluster: Cluster):
print
(
"
\n
"
,
file
=
f
)
i1
.
service_password_file
=
password_file
lc
=
log_crawler
(
i1
,
"
ERROR
: service password cannot start with a newline character
"
i1
,
"
CRITICAL
: service password cannot start with a newline character
"
)
i1
.
fail_to_start
()
lc
.
wait_matched
()
...
...
@@ -449,7 +449,7 @@ def test_pico_service_invalid_requirements_password(cluster: Cluster):
print
(
"
\n
nothing
"
,
file
=
f
)
i1
.
service_password_file
=
password_file
lc
=
log_crawler
(
i1
,
"
ERROR
: service password cannot start with a newline character
"
i1
,
"
CRITICAL
: service password cannot start with a newline character
"
)
i1
.
fail_to_start
()
lc
.
wait_matched
()
...
...
@@ -457,7 +457,9 @@ def test_pico_service_invalid_requirements_password(cluster: Cluster):
with
open
(
password_file
,
"
w
"
)
as
f
:
print
(
"
hello
\n
world
"
,
file
=
f
)
i1
.
service_password_file
=
password_file
lc
=
log_crawler
(
i1
,
"
ERROR: service password cannot be split into multiple lines
"
)
lc
=
log_crawler
(
i1
,
"
CRITICAL: service password cannot be split into multiple lines
"
)
i1
.
fail_to_start
()
lc
.
wait_matched
()
...
...
@@ -465,7 +467,7 @@ def test_pico_service_invalid_requirements_password(cluster: Cluster):
print
(
"
€
"
,
file
=
f
)
i1
.
service_password_file
=
password_file
lc
=
log_crawler
(
i1
,
"
ERROR
: service password characters must be within ascii range
"
i1
,
"
CRITICAL
: service password characters must be within ascii range
"
)
i1
.
fail_to_start
()
lc
.
wait_matched
()
...
...
@@ -475,7 +477,7 @@ def test_pico_service_invalid_requirements_password(cluster: Cluster):
i1
.
service_password_file
=
password_file
lc
=
log_crawler
(
i1
,
"
ERROR
: service password characters must be alphanumeric
"
,
"
CRITICAL
: service password characters must be alphanumeric
"
,
)
i1
.
fail_to_start
()
lc
.
wait_matched
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment