diff --git a/spec/environment/environment.rb b/spec/environment/environment.rb index 96d568a8d..4a41ff9b9 100644 --- a/spec/environment/environment.rb +++ b/spec/environment/environment.rb @@ -41,9 +41,8 @@ def branch_to_environment(branch) def initial_secrets(env) key_prefix = if env == 'development' then 'GD_DEV' - elsif env == 'testing' then - 'GD_TEST' else + # env == 'testing' is also utilizing staging1 'GD_STG' end { diff --git a/spec/environment/testing.rb b/spec/environment/testing.rb index 125a92475..2182beee9 100644 --- a/spec/environment/testing.rb +++ b/spec/environment/testing.rb @@ -7,29 +7,29 @@ module GoodData module Environment module ConnectionHelper - set_const :DEFAULT_DOMAIN, 'staging2-lcm-prod' - set_const :DEFAULT_SERVER, 'https://staging2-lcm-prod.intgdc.com' - set_const :DEFAULT_USER_URL, '/gdc/account/profile/5ad80b895edcc438e5a4418e222733fa' - set_const :STAGING_URI, 'https://staging2-lcm-prod.intgdc.com/gdc/uploads/' + set_const :DEFAULT_DOMAIN, 'staging-lcm-prod' + set_const :DEFAULT_SERVER, 'https://staging-lcm-prod.intgdc.com' + set_const :DEFAULT_USER_URL, '/gdc/account/profile/e306b64fb4178785c9cf29c29b5e498a' + set_const :STAGING_URI, 'https://staging-lcm-prod.intgdc.com/gdc/uploads/' set_const :LCM_ENVIRONMENT, - dev_server: 'staging2-lcm-dev.intgdc.com', - prod_server: 'staging2-lcm-prod.intgdc.com', - dev_organization: 'staging2-lcm-dev', - prod_organization: 'staging2-lcm-prod', + dev_server: 'staging-lcm-dev.intgdc.com', + prod_server: 'staging-lcm-prod.intgdc.com', + dev_organization: 'staging-lcm-dev', + prod_organization: 'staging-lcm-prod', username: 'rubydev+admin@gooddata.com', appstore_deploy_name: 'PRODUCTION_APPSTORE' end module ProcessHelper - set_const :PROCESS_ID, '7bc4b678-d1f6-4fb0-b1ee-513f4709bbf1' + set_const :PROCESS_ID, '756b5f0f-6412-4072-b8e2-f5c33624f497' end module ProjectHelper - set_const :PROJECT_ID, 'voyb6fcvdngwfyf722vn9cmbv7sq6mf6' + set_const :PROJECT_ID, 'kd39zwi3bii39ewe1skh6ldjfx7ebj7x' end module ScheduleHelper - set_const :SCHEDULE_ID, '5acdd513e4b01dce92b23505' + set_const :SCHEDULE_ID, '65f0f0ded245736d3f85dfb6' end end end diff --git a/spec/lcm/integration/spec/others/data_helper_spec.rb b/spec/lcm/integration/spec/others/data_helper_spec.rb index 1782950fd..056fedb5a 100644 --- a/spec/lcm/integration/spec/others/data_helper_spec.rb +++ b/spec/lcm/integration/spec/others/data_helper_spec.rb @@ -229,28 +229,28 @@ expect(data).to eq File.open(file_path).read end - it 'connect to redshift with BASIC authentication' do + xit 'connect to redshift with BASIC authentication' do data_helper = GoodData::Helpers::DataSource.new(basic_params['input_source']) file_path = data_helper.realize(basic_params) data = File.open('spec/data/redshift_data2.csv').read expect(data).to eq File.open(file_path).read end - it 'connect to redshift with BASIC authentication without schema' do + xit 'connect to redshift with BASIC authentication without schema' do data_helper = GoodData::Helpers::DataSource.new(basic_params_without_schema['input_source']) file_path = data_helper.realize(basic_params_without_schema) data = File.open('spec/data/redshift_data.csv').read expect(data).to eq File.open(file_path).read end - it 'connect to redshift with BASIC authentication and dynamic source' do + xit 'connect to redshift with BASIC authentication and dynamic source' do data_helper = GoodData::Helpers::DataSource.new(basic_params_dynamic_source['dynamic_params']['input_source']) file_path = data_helper.realize(basic_params_dynamic_source) data = File.open('spec/data/redshift_data2.csv').read expect(data).to eq File.open(file_path).read end - it 'connect to redshift with BASIC authentication and url has parameter' do + xit 'connect to redshift with BASIC authentication and url has parameter' do data_helper = GoodData::Helpers::DataSource.new(basic_params_url_parameters['input_source']) file_path = data_helper.realize(basic_params_url_parameters) data = File.open('spec/data/redshift_data2.csv').read @@ -264,7 +264,7 @@ expect(data).to eq File.open(file_path).read end - it 'connect to bigquery with BASIC authentication' do + xit 'connect to bigquery with BASIC authentication' do encryption_key = ENV['GD_SPEC_PASSWORD'] || ENV['BIA_ENCRYPTION_KEY'] bigquery_secret = File.open('spec/environment/bigquery_encrypted').read decrypted = GoodData::Helpers.decrypt(bigquery_secret, encryption_key) @@ -282,7 +282,7 @@ expect(data).to eq File.open(file_path).read end - it 'connect to mssql with BASIC authentication' do + xit 'connect to mssql with BASIC authentication' do data_helper = GoodData::Helpers::DataSource.new(mssql_basic_params['input_source']) file_path = data_helper.realize(mssql_basic_params) data = File.open('spec/data/mssql_data.csv').read diff --git a/spec/project/full_process_schedule_spec.rb b/spec/project/full_process_schedule_spec.rb index db5c89c8c..983acb8a2 100644 --- a/spec/project/full_process_schedule_spec.rb +++ b/spec/project/full_process_schedule_spec.rb @@ -228,7 +228,7 @@ end end - it "should be possible to download deployed process" do + xit "should be possible to download deployed process" do process = @project.deploy_process('./spec/data/hello_world_process/hello_world.zip', type: 'RUBY', name: 'Test ETL zipped file Process') @@ -253,7 +253,7 @@ end end - it "should be able to redeploy via project" do + xit "should be able to redeploy via project" do begin process = @project.deploy_process('./spec/data/hello_world_process/hello_world.zip', type: 'RUBY', @@ -264,7 +264,7 @@ end end - it "should be able to redeploy directly" do + xit "should be able to redeploy directly" do begin process1 = @project.deploy_process( './spec/data/hello_world_process/hello_world.zip',