Skip to content

Multitask transitive dependencies unpredictable. #189

@aelsabbahy

Description

@aelsabbahy

Not sure if this is a bug or a misunderstanding on my part. I seem to be getting inconsistent race-condition like behavior with the following setup:

Rakefile:

multitask :default => [:one, :two] do
end

task :two => :one do
  puts "echo 'should not run?'"
end

task :one do
  raise
end

I would expect to never see "should not run?", but I see it intermittently.

for i in {1..10}; do rake 2>/dev/null | grep 'should'; done
echo 'should not run?'
echo 'should not run?'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions