|
49 | 49 | end
|
50 | 50 |
|
51 | 51 | describe 'the Puppet Docker module' do
|
52 |
| - context 'clean up before each test', win_broken: true do |
| 52 | + context 'clean up before each test', :win_broken do |
53 | 53 | before(:each) do
|
54 | 54 | retry_on_error_matching(60, 5, %r{connection failure running}) do
|
55 | 55 | # Stop all container using systemd
|
|
70 | 70 | end
|
71 | 71 |
|
72 | 72 | describe 'docker class' do
|
73 |
| - context 'without any parameters', win_broken: true do |
| 73 | + context 'without any parameters', :win_broken do |
74 | 74 | let(:pp) { "class { 'docker': #{docker_args} }" }
|
75 | 75 |
|
76 | 76 | it 'runs successfully' do
|
@@ -349,7 +349,7 @@ class { 'docker': #{docker_args} }
|
349 | 349 | end
|
350 | 350 | end
|
351 | 351 |
|
352 |
| - it 'creates a new image based on a tar', win_broken: true do |
| 352 | + it 'creates a new image based on a tar', :win_broken do |
353 | 353 | pp = <<-EOS
|
354 | 354 | class { 'docker': #{docker_args} }
|
355 | 355 | docker::image { '#{default_image}':
|
@@ -585,7 +585,7 @@ class { 'docker': #{docker_args} }
|
585 | 585 |
|
586 | 586 | # cpuset is not supported on Docker Windows
|
587 | 587 | # STDERR: C:/Program Files/Docker/docker.exe: Error response from daemon: invalid option: Windows does not support CpusetCpus.
|
588 |
| - it 'starts a container with cpuset paramater set', win_broken: true do |
| 588 | + it 'starts a container with cpuset paramater set', :win_broken do |
589 | 589 | pp = <<-EOS
|
590 | 590 | class { 'docker': #{docker_args} }
|
591 | 591 |
|
@@ -614,7 +614,7 @@ class { 'docker': #{docker_args} }
|
614 | 614 | end
|
615 | 615 |
|
616 | 616 | # leagacy container linking was not implemented on Windows. --link is a legacy Docker feature: https://docs.docker.com/network/links/
|
617 |
| - it 'starts multiple linked containers', win_broken: true do |
| 617 | + it 'starts multiple linked containers', :win_broken do |
618 | 618 | pp = <<-EOS
|
619 | 619 | class { 'docker': #{docker_args} }
|
620 | 620 |
|
@@ -669,7 +669,7 @@ class { 'docker': #{docker_args} }
|
669 | 669 | end
|
670 | 670 | end
|
671 | 671 |
|
672 |
| - it 'stops a running container', win_broken: true do |
| 672 | + it 'stops a running container', :win_broken do |
673 | 673 | pp = <<-EOS
|
674 | 674 | class { 'docker': #{docker_args} }
|
675 | 675 |
|
@@ -860,7 +860,7 @@ class { 'docker': #{docker_args} }
|
860 | 860 | end
|
861 | 861 | end
|
862 | 862 |
|
863 |
| - describe 'docker::exec', win_broken: true do |
| 863 | + describe 'docker::exec', :win_broken do |
864 | 864 | it 'runs a command inside an already running container' do
|
865 | 865 | pp = <<-EOS
|
866 | 866 | class { 'docker': #{docker_args} }
|
@@ -919,7 +919,7 @@ class { 'docker': #{docker_args} }
|
919 | 919 | apply_manifest(pp_delete, catch_failures: true)
|
920 | 920 | end
|
921 | 921 |
|
922 |
| - it 'onlies run if notified when refreshonly is true', win_broken: true do |
| 922 | + it 'onlies run if notified when refreshonly is true', :win_broken do |
923 | 923 | container_name = 'container_4_2'
|
924 | 924 | pp = <<-EOS
|
925 | 925 | class { 'docker': #{docker_args} }
|
|
0 commit comments