Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dummy PR #1675

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
# - It's a code change
# - A build label was just added
# A bit complex, but prevents builds when other labels are manipulated
if: >
github.event_name == 'workflow_dispatch'
|| github.event_name == 'push'
|| (contains(github.event.pull_request.labels.*.name, 'build')
&& (github.event.action != 'labeled' || github.event.label.name == 'build')
)
# if: >
# github.event_name == 'workflow_dispatch'
# || github.event_name == 'push'
# || (contains(github.event.pull_request.labels.*.name, 'build')
# && (github.event.action != 'labeled' || github.event.label.name == 'build')
# )
steps:
- uses: actions/checkout@v2.3.4
if: github.event_name != 'workflow_dispatch'
Expand All @@ -49,15 +49,15 @@ jobs:
with:
working-directory: plugin
filters: |
core-plugins:
- 'core-plugins/**'
postgresql-plugins:
- '**/**'
- name: Set modules list
id: sml
run: |
if [ ${{ github.event_name }} != 'workflow_dispatch' ]; then
echo "::set-output name=matrix::$( jq '.' --compact-output <<< '${{ steps.filter.outputs.changes }}')"
else
echo "::set-output name=matrix::['core-plugins']"
echo "::set-output name=matrix::['postgresql-plugins']"
fi
shell: bash
outputs:
Expand Down Expand Up @@ -87,7 +87,8 @@ jobs:
- name: Checkout e2e test repo
uses: actions/checkout@v2.3.4
with:
repository: cdapio/cdap-e2e-tests
repository: sawantpritam/cdap-e2e-tests
ref: db-drivers
path: e2e
- name: Cache
uses: actions/cache@v2.1.3
Expand All @@ -98,10 +99,10 @@ jobs:
${{ runner.os }}-maven-${{ github.workflow }}
- name: Run required e2e tests
if: github.event_name != 'workflow_dispatch' && github.event_name != 'push' && steps.filter.outputs.e2e-test == 'false'
run: python3 e2e/src/main/scripts/run_e2e_test.py --module ${{ matrix.module }} --testRunner TestRunnerRequired.java
run: python3 e2e/src/main/scripts/run_e2e_test.py --module core-plugins --testRunner TestRunnerRequired.java
- name: Run all e2e tests
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || steps.filter.outputs.e2e-test == 'true'
run: python3 e2e/src/main/scripts/run_e2e_test.py --module ${{ matrix.module }}
run: python3 e2e/src/main/scripts/run_e2e_test.py --module core-plugins --testRunner TestRunnerRequired.java
- name: Upload report
uses: actions/upload-artifact@v2.2.4
if: always()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@File_Source @FILE_SOURCE_TEST
Feature:File Source - Verify File Source Plugin Error scenarios

@File_Source_Required
Scenario:Verify File source plugin validation errors for mandatory fields
Given Open Datafusion Project to configure pipeline
When Select plugin: "File" from the plugins list as: "Source"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# Copyright © 2022 Cask Data, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
#

@PostgreSQL_Source @File_Source_Required
Feature:PostgreSQL Source - Verify PostgreSQL driver

Scenario:Verify PostgreSQL source driver
Given Open Datafusion Project to configure pipeline
When Select plugin: "PostgreSQL" from the plugins list as: "Source"
Then Navigate to the properties page of plugin: "PostgreSQL"
Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "postgresql"
Then Verify dropdown plugin property: "select-jdbcPluginName" is selected with option: "postgresql"
Binary file not shown.