diff options
Diffstat (limited to 'tests/order.rb')
-rw-r--r-- | tests/order.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/order.rb b/tests/order.rb deleted file mode 100644 index 14aad9be..00000000 --- a/tests/order.rb +++ /dev/null @@ -1,22 +0,0 @@ -class LeapCli::Config::Node - # - # returns a list of node names that should be tested before this node. - # make sure to not return ourselves (please no dependency loops!). - # - # NOTE: this method determines the order that nodes are tested in. To specify - # the order of tests on a particular node, each test can call class method - # LeapTest.depends_on(). - # - def test_dependencies - dependents = LeapCli::Config::ObjectList.new - - # webapp, mx, and soledad depend on couchdb nodes - if services.include?('webapp') || services.include?('mx') || services.include?('soledad') - if !services.include?('couchdb') - dependents.merge! nodes_like_me[:services => 'couchdb'] - end - end - - dependents.keys.delete_if {|name| self.name == name} - end -end
\ No newline at end of file |