Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cse138-assignment-4-test-suite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Daksh Kalpesh Shah
cse138-assignment-4-test-suite
Commits
d933f968
Commit
d933f968
authored
1 month ago
by
zphrs
Browse files
Options
Downloads
Patches
Plain Diff
made basic_proxy tests more reasonable
parent
9a10e833
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/proxy/basic_proxy.py
+2
-2
2 additions, 2 deletions
tests/proxy/basic_proxy.py
with
2 additions
and
2 deletions
tests/proxy/basic_proxy.py
+
2
−
2
View file @
d933f968
...
...
@@ -18,7 +18,7 @@ def basic_proxy_one_client(conductor: ClusterConductor, dir, log: Logger):
node_to_put
=
0
base_key
=
"
key
"
for
i
in
range
(
0
,
3
00
):
for
i
in
range
(
0
,
10
00
):
r
=
c
.
put
(
node_to_put
,
f
"
{
base_key
}{
i
}
"
,
f
"
{
i
}
"
,
timeout
=
10
)
assert
r
.
ok
,
f
"
expected ok for new key, got
{
r
.
status_code
}
"
node_to_put
+=
1
...
...
@@ -50,7 +50,7 @@ def basic_proxy_many_clients(conductor: ClusterConductor, dir, log: Logger):
node_to_put
=
0
base_key
=
"
key
"
for
i
in
range
(
0
,
100
00
):
for
i
in
range
(
0
,
3
00
):
c1
=
KVSMultiClient
(
fx
.
clients
,
"
client
"
,
log
)
r
=
c1
.
put
(
node_to_put
,
f
"
{
base_key
}{
i
}
"
,
f
"
{
i
}
"
,
timeout
=
10
)
assert
r
.
ok
,
f
"
expected ok for new key, got
{
r
.
status_code
}
"
...
...
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