Project

General

Profile

Revision f370cc85

Added by Thomas McKay almost 6 years ago

fixes #16501 - subnets import not setting proxies

Changed the vcr recording by adding --reload-cache to all the hammer commands. This hopefully will avoid the intermittent failures due to fetching the v2.json.

View differences:

test/resources/subscriptions_test.rb
8 8
      set_user 'admin'
9 9

  
10 10
      stdout,stderr = capture {
11
        hammer.run(%W{csv subscriptions --help})
11
        hammer.run(%W{--reload-cache csv subscriptions --help})
12 12
      }
13 13
      assert_equal '', stderr
14 14
      assert_equal stdout, <<-HELP
......
43 43
      file.rewind
44 44

  
45 45
      stdout,stderr = capture {
46
        hammer.run(%W{csv subscriptions --verbose --file #{file.path}})
46
        hammer.run(%W{--reload-cache csv subscriptions --verbose --file #{file.path}})
47 47
      }
48 48
      assert_equal '', stdout
49 49
      lines = stderr.split("\n")

Also available in: Unified diff