Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
beat
beat.core
Commits
85cef289
There was a problem fetching the pipeline summary.
Commit
85cef289
authored
6 years ago
by
Jaden DIEFENBAUGH
Browse files
Options
Downloads
Patches
Plain Diff
[ci] debug docker timing test
parent
5a3ac1df
No related branches found
No related tags found
2 merge requests
!32
Merge development branch 1.6.x
,
!23
[dock] Closes #55 by restricting the image search to images with the name containing `beat.env.`
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beat/core/test/test_docker.py
+6
-2
6 additions, 2 deletions
beat/core/test/test_docker.py
with
6 additions
and
2 deletions
beat/core/test/test_docker.py
+
6
−
2
View file @
85cef289
...
@@ -242,7 +242,9 @@ class HostTest(unittest.TestCase):
...
@@ -242,7 +242,9 @@ class HostTest(unittest.TestCase):
nb_images
=
len
(
Host
.
images_cache
)
nb_images
=
len
(
Host
.
images_cache
)
self
.
assertTrue
(
nb_images
>
0
)
self
.
assertTrue
(
nb_images
>
0
)
self
.
assertTrue
(
stop
-
start
>
2.0
)
time_nocache
=
stop
-
start
print
(
time_nocache
)
self
.
assertTrue
(
time_nocache
>
2.0
)
# Should be instantaneous
# Should be instantaneous
start
=
time
.
time
()
start
=
time
.
time
()
...
@@ -254,7 +256,9 @@ class HostTest(unittest.TestCase):
...
@@ -254,7 +256,9 @@ class HostTest(unittest.TestCase):
self
.
assertEqual
(
len
(
Host
.
images_cache
),
nb_images
)
self
.
assertEqual
(
len
(
Host
.
images_cache
),
nb_images
)
self
.
assertTrue
(
stop
-
start
<
1.0
)
time_cache
=
stop
-
start
print
(
time_cache
)
self
.
assertTrue
(
time_cache
<
1.0
)
@slow
@slow
...
...
This diff is collapsed.
Click to expand it.
André Anjos
@aanjos
mentioned in commit
24045512
·
6 years ago
mentioned in commit
24045512
mentioned in commit 240455129e24756c863fc5bcc84b23804d95f51f
Toggle commit list
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