docker-spec 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/spec/docker.rb +8 -4
- data/lib/docker/spec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f60c0fcf0bed0115d2091b30d66b841d88614017
|
4
|
+
data.tar.gz: d7f7c2a04495e39d49cf9ec05672e26f901b66b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee9ab7dd0d0024f7bba9decd56b8271e5fa8b9b58fcfb917ee49a4566e17d7832bc4ac62dd0fda037e16470913ffecc6c11eb21b81cd2c0c99adf55df8746496
|
7
|
+
data.tar.gz: 2695f9a195974871331946439925de9b0eebf865baf2a6322797534f4a4e77681a1222cc101dd33e5f92b914028c69a6bbcb20672cc47d0eb82ed3534f4d8b71
|
data/lib/docker/spec/docker.rb
CHANGED
@@ -19,13 +19,17 @@ module Docker
|
|
19
19
|
expect(@container.json['State']['Running']).to be true
|
20
20
|
end
|
21
21
|
|
22
|
-
it 'Should not have exit processes' do
|
23
|
-
expect(@container.logs(stdout: true)).to_not match(/exit/)
|
24
|
-
end
|
25
|
-
|
26
22
|
it 'Services supervisor should be running' do
|
27
23
|
expect(process('supervisord')).to be_running
|
28
24
|
end
|
25
|
+
|
26
|
+
it 'Should not have exit processes' do
|
27
|
+
if @container.logs(stdout: true).match(/exit/)
|
28
|
+
logs = command('cat /var/log/supervisor/*').stdout
|
29
|
+
File.open('supervisor-err.log', 'w+').write logs
|
30
|
+
end
|
31
|
+
expect(@container.logs(stdout: true)).to_not match(/exit/)
|
32
|
+
end
|
29
33
|
end
|
30
34
|
end
|
31
35
|
end
|
data/lib/docker/spec/version.rb
CHANGED