Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
asapo
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
Terraform modules
Analyze
Contributor 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
Joao Alvim Oliveira Dias De Almeida
asapo
Commits
339aebbc
Commit
339aebbc
authored
5 years ago
by
Sergey Yakubov
Browse files
Options
Downloads
Patches
Plain Diff
update test
parent
6b9fac47
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/automatic/bug_fixes/worker_python_memleak/check_linux.sh
+2
-2
2 additions, 2 deletions
.../automatic/bug_fixes/worker_python_memleak/check_linux.sh
tests/automatic/bug_fixes/worker_python_memleak/memleak.py
+1
-1
1 addition, 1 deletion
tests/automatic/bug_fixes/worker_python_memleak/memleak.py
with
3 additions
and
3 deletions
tests/automatic/bug_fixes/worker_python_memleak/check_linux.sh
+
2
−
2
View file @
339aebbc
...
...
@@ -15,7 +15,7 @@ Cleanup() {
nomad stop nginx
nomad stop broker
nomad stop discovery
echo
"db.dropDatabase()"
| mongo
${
beamtime_id
}
echo
"db.dropDatabase()"
| mongo
${
beamtime_id
}
_stream
}
fname
=
test.dat
...
...
@@ -27,7 +27,7 @@ nomad run broker.nmd
sleep
1
echo
'db.data.insert({"_id":'
1
',"size":'
$size
',"name":"'
$fname
'","lastchange":1,"source":"none","buf_id":0,"meta":{}})'
| mongo
${
beamtime_id
}
echo
'db.data.insert({"_id":'
1
',"size":'
$size
',"name":"'
$fname
'","lastchange":1,"source":"none","buf_id":0,"meta":{}})'
| mongo
${
beamtime_id
}
_stream
dd
if
=
/dev/zero
of
=
$fname
bs
=
$size
count
=
1
export
PYTHONPATH
=
$1
:
${
PYTHONPATH
}
...
...
This diff is collapsed.
Click to expand it.
tests/automatic/bug_fixes/worker_python_memleak/memleak.py
+
1
−
1
View file @
339aebbc
...
...
@@ -5,7 +5,7 @@ import sys
source
,
path
,
beamtime
,
token
=
sys
.
argv
[
1
:]
broker
,
err
=
asapo_worker
.
create_server_broker
(
source
,
path
,
beamtime
,
token
,
1000
)
source
,
path
,
beamtime
,
"
stream
"
,
token
,
1000
)
group_id
,
err
=
broker
.
generate_group_id
()
if
err
is
not
None
:
...
...
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