Skip to content

Commit 8da48f5

Browse files
committed
parallel test: change port value to puppet_7_node
Use the port value for puppet_7_node, which is now used in testing instead of puppet_6_node. This plan is tightly coupled with the test in spec/integration/parallel_spec.rb "finishes executing the block then raises an error when there's an error". In 573cdb5 the puppet 6 node was removed from testing and the puppet 7 node was used to replace it. This plan relied on matching the port value of the puppet 6 node to decide to run a failing task, but the puppet 7 node has a different port number.
1 parent 1efd1c2 commit 8da48f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • spec/fixtures/parallel/parallel/plans

spec/fixtures/parallel/parallel/plans/error.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
) {
44
$ts = get_targets($targets)
55
parallelize($ts) |$t| {
6-
if $t.port == 20024 {
6+
if $t.port == 20025 {
77
run_task('error::fail', $t)
88
} else {
99
run_task('parallel', $t, 'time' => 0, 'val' => 'a')

0 commit comments

Comments
 (0)