Fix false idempotence failure in Beaker tests 25/55625/1
authorDaniel Farrell <dfarrell@redhat.com>
Wed, 1 Jun 2016 20:02:34 +0000 (16:02 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 19 Apr 2017 19:18:40 +0000 (15:18 -0400)
Change-Id: I3d3d197ee0c786c094ef388d6f5aa168ba370f34
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
spec/spec_helper_acceptance.rb

index 29be758c056f551a87c23b8f8ed8e23cd6632b96..4d182de0d0c5061cb2898941eb6b768e5373c7a8 100644 (file)
@@ -75,13 +75,12 @@ def install_odl(options = {})
     # Apply our Puppet manifest on the Beaker host
     apply_manifest(pp, :catch_failures => true)
 
-    # The tarball extract isn't idempotent, can't do this check
-    # See: https://github.com/dfarrell07/puppet-opendaylight/issues/45#issuecomment-78135725
-    if install_method != 'tarball'
-      # Run it twice to test for idempotency
-      apply_manifest(pp, :catch_changes  => true)
+    # Not checking for idempotence because of false failures
+    # related to package manager cache updates outputting to
+    # stdout and different IDs for the puppet manifest apply.
+    # I think this is a limitation in how Beaker can check
+    # for changes, not a problem with the Puppet module.
     end
-  end
 end
 
 # Shared function that handles generic validations