beaker-pe 1.40.2 → 1.40.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ce3b0cc778156127d97c43444bae44ec5a62e2b
4
- data.tar.gz: ba1a70b26ac998dbc015ea94dab32643a52ca111
3
+ metadata.gz: a7fe2c33219257dfd7ad0d16dd9aa44779c34519
4
+ data.tar.gz: 7fb02916d2a3f6f87e2365a199b5c69446b2154f
5
5
  SHA512:
6
- metadata.gz: ac36a389316076d94eb6d0c91bd07d525b6d83e61dfadeb4a003fe73b94ed351dd9925677bd985b940b4ae491ff50662aebd2e3c24edd2c7e112a69ffc39994a
7
- data.tar.gz: ccacfd0acb784cfb52746f5d0658aba26d3302e23eed5008cdbb212f0b2bfc3b14f44810e510b4a9adea79c1cdbdd9c8d007873b75040d7b60abb9e4de564fb5
6
+ metadata.gz: 7110d726b7573e6a30b2a6b34fb7d7e557b1349d6a802c5af5efc5c392a5720fbae7cb0d8299fbbd9778de0fe1a2cef73b2abe57342ff7382e71e925d151cc91
7
+ data.tar.gz: 6b5c8b6725c47c887a21bd7c03d179b5f61aae5e6d23c783fd738afbd5decae3980d342f3f22c8d03a2ce01487fb201964da369a2cb3855e4389a820297e7cb0
@@ -1517,7 +1517,7 @@ module Beaker
1517
1517
  allowed_errors = ["The operation could not be completed because RBACs database has not been initialized",
1518
1518
  "Timeout waiting for the database pool to become ready",
1519
1519
  "Systemd restart for pe-console-services failed",
1520
- "Reloading pe-console-services: Reload timed out after 120 seconds"]
1520
+ "Execution of.*service pe-console-services.*: Reload timed out after 120 seconds"]
1521
1521
 
1522
1522
  allowed_errors.each do |error|
1523
1523
  if(on(host, "grep '#{error}' #{installer_log_dir}/#{latest_installer_log_file}", :acceptable_exit_codes => [0,1]).exit_code == 0)
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '1.40.2'
6
+ STRING = '1.40.3'
7
7
  end
8
8
 
9
9
  end
@@ -1236,7 +1236,7 @@ describe ClassMixedWithDSLInstallUtils do
1236
1236
  allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
1237
1237
  allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1238
1238
  allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1239
- allow(subject).to receive(:on).with(mono_master, "grep 'Reloading pe-console-services: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1239
+ allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1240
1240
  expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(true)
1241
1241
  end
1242
1242
 
@@ -1251,7 +1251,7 @@ describe ClassMixedWithDSLInstallUtils do
1251
1251
  allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1252
1252
  allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
1253
1253
  allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1254
- allow(subject).to receive(:on).with(mono_master, "grep 'Reloading pe-console-services: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1254
+ allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1255
1255
  expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(true)
1256
1256
  end
1257
1257
 
@@ -1266,7 +1266,7 @@ describe ClassMixedWithDSLInstallUtils do
1266
1266
  allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1267
1267
  allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1268
1268
  allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
1269
- allow(subject).to receive(:on).with(mono_master, "grep 'Reloading pe-console-services: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1269
+ allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1270
1270
  expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(true)
1271
1271
  end
1272
1272
 
@@ -1281,7 +1281,7 @@ describe ClassMixedWithDSLInstallUtils do
1281
1281
  allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1282
1282
  allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1283
1283
  allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1284
- allow(subject).to receive(:on).with(mono_master, "grep 'Reloading pe-console-services: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
1284
+ allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(zero_exit_code_mock)
1285
1285
  expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(true)
1286
1286
  end
1287
1287
 
@@ -1294,7 +1294,7 @@ describe ClassMixedWithDSLInstallUtils do
1294
1294
  allow(subject).to receive(:on).with(mono_master, "grep 'The operation could not be completed because RBACs database has not been initialized' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1295
1295
  allow(subject).to receive(:on).with(mono_master, "grep 'Timeout waiting for the database pool to become ready' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1296
1296
  allow(subject).to receive(:on).with(mono_master, "grep 'Systemd restart for pe-console-services failed' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1297
- allow(subject).to receive(:on).with(mono_master, "grep 'Reloading pe-console-services: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1297
+ allow(subject).to receive(:on).with(mono_master, "grep 'Execution of.*service pe-console-services.*: Reload timed out after 120 seconds' /var/log/puppetlabs/installer/installer_log_name", :acceptable_exit_codes=>[0, 1]).and_return(one_exit_code_mock)
1298
1298
  expect(subject.is_expected_pe_postgres_failure?(mono_master)). to eq(false)
1299
1299
  end
1300
1300
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-pe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.2
4
+ version: 1.40.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-05 00:00:00.000000000 Z
11
+ date: 2018-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec