Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
docker-py
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
docker-py
Commits
1a4881ac
Kaydet (Commit)
1a4881ac
authored
May 01, 2019
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Improve low_timeout test resilience
Signed-off-by:
Joffrey F
<
joffrey@docker.com
>
üst
34ffc568
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
api_container_test.py
tests/integration/api_container_test.py
+4
-4
No files found.
tests/integration/api_container_test.py
Dosyayı görüntüle @
1a4881ac
...
@@ -18,7 +18,7 @@ import six
...
@@ -18,7 +18,7 @@ import six
from
.base
import
BUSYBOX
,
BaseAPIIntegrationTest
from
.base
import
BUSYBOX
,
BaseAPIIntegrationTest
from
..
import
helpers
from
..
import
helpers
from
..helpers
import
(
from
..helpers
import
(
requires_api_version
,
ctrl_with
,
assert_cat_socket_detached_with_keys
assert_cat_socket_detached_with_keys
,
ctrl_with
,
requires_api_version
,
)
)
...
@@ -1163,10 +1163,10 @@ class RestartContainerTest(BaseAPIIntegrationTest):
...
@@ -1163,10 +1163,10 @@ class RestartContainerTest(BaseAPIIntegrationTest):
def
test_restart_with_low_timeout
(
self
):
def
test_restart_with_low_timeout
(
self
):
container
=
self
.
client
.
create_container
(
BUSYBOX
,
[
'sleep'
,
'9999'
])
container
=
self
.
client
.
create_container
(
BUSYBOX
,
[
'sleep'
,
'9999'
])
self
.
client
.
start
(
container
)
self
.
client
.
start
(
container
)
self
.
client
.
timeout
=
1
self
.
client
.
timeout
=
3
self
.
client
.
restart
(
container
,
timeout
=
3
)
self
.
client
.
restart
(
container
,
timeout
=
1
)
self
.
client
.
timeout
=
None
self
.
client
.
timeout
=
None
self
.
client
.
restart
(
container
,
timeout
=
3
)
self
.
client
.
restart
(
container
,
timeout
=
1
)
self
.
client
.
kill
(
container
)
self
.
client
.
kill
(
container
)
def
test_restart_with_dict_instead_of_id
(
self
):
def
test_restart_with_dict_instead_of_id
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment