github.com/go-chef/chef@v0.30.1/test_chef_server/test/integration/default/inspec/status_spec.rb (about)

     1  # Inspec tests for the status chef api go module
     2  #
     3  
     4  describe command('/go/src/github.com/go-chef/chef/testapi/bin/status') do
     5    its('stderr') { should_not match(/error|no such file|cannot find|not used|undefined/) }
     6    its('stdout') do
     7      should match(/List status: \{Status:pong Upstreams:map\[(?=.*chef_opensearch:pong)(?=.*chef_sql:pong)(?=.*oc_chef_authz:pong).*\].*Keygen:map\[(?=.*keys:10)(?=.*max:10)(?=.*max_workers:2)(?=.*cur_max_workers:2)(?=.*avail_workers:)(?=.*start_size:0).*\]\}/)
     8    end
     9  end