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/settings_test.rb
8 8
      set_user 'admin'
9 9

  
10 10
      stdout,stderr = capture {
11
        hammer.run(%W{csv settings --help})
11
        hammer.run(%W{--reload-cache csv settings --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 settings --verbose --file #{file.path}})
46
        hammer.run(%W{--reload-cache csv settings --verbose --file #{file.path}})
47 47
      }
48 48
      stderr.must_equal ''
49 49
      lines = stdout.split("\n")
......
68 68
      file.rewind
69 69

  
70 70
      stdout,stderr = capture {
71
        hammer.run(%W{csv settings --verbose --continue-on-error --file #{file.path}})
71
        hammer.run(%W{--reload-cache csv settings --verbose --continue-on-error --file #{file.path}})
72 72
      }
73 73
      stderr.must_equal "Error: Setting 'badsetting' not found\nbadsetting,1,1234\n"
74 74
      lines = stdout.split("\n")

Also available in: Unified diff