| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
CloudSqlMySql Test Scenarios
e2e CloudSqlMySql
| @@ -0,0 +1,123 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <!-- | |||
| Copyright © 2015-2019 Cask Data, Inc. | |||
There was a problem hiding this comment.
2022
Sorry, something went wrong.
|
|
||
| <groupId>io.cdap.plugin</groupId> | ||
| <artifactId>e2e-test</artifactId> | ||
| <version>2.9.0-SNAPSHOT</version> |
There was a problem hiding this comment.
should it 1.9.0-SNAPSHOT?
Line 23 in 543dee0
Sorry, something went wrong.
| @@ -0,0 +1,120 @@ | |||
| /* | |||
| * Copyright © 2021 Cask Data, Inc. | |||
There was a problem hiding this comment.
2022
Sorry, something went wrong.
| public class E2ETestUtils { | ||
| private static Properties pluginProperties = new Properties(); | ||
| private static Properties errorProperties = new Properties(); | ||
| private static final Logger logger = Logger.getLogger(E2ETestUtils.class); |
There was a problem hiding this comment.
use slf4j
private static final Logger LOG = LoggerFactory.getLogger(E2ETestUtils.class);
Sorry, something went wrong.
| Feature: CloudSQLMySQl Sink Design Time | ||
|
|
||
| @CLDMYSQL @TC-Mandatory-fields | ||
| Scenario Outline:Verify CloudSQLMYSQL Sink properties validation errors for mandatory fields |
There was a problem hiding this comment.
for clarify, can we add source and sink test features in separate directories?
Sorry, something went wrong.
| Then Post records count from CloudSQLMySQL table "clsTableNameBQCS" | ||
| Then Validate the output record count | ||
| Then Validate successMessage is displayed | ||
| Then Validate the count of records transferred from BigQuery "clsTableNameBQ" to CloudSqlMySql "clsTableNameBQCS" |
There was a problem hiding this comment.
In addition to checking the number of records transferred, also validate that the correct data is written to the sink in all the test cases
Sorry, something went wrong.
| clsProjectID=cdf-athena | ||
| clsTableNameBQ=tableabc | ||
| clsTableNameBQ1=tablecloud | ||
| clsBucket=gs://cdf-athena-test/TestingGCS.csv |
There was a problem hiding this comment.
load data from the repo instead of depending on data existing in a GCS bucket. For example, see google-cloud tests - https://github.com/data-integrations/google-cloud/tree/develop/src/e2e-test/resources/testdata
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
@tivv @rmstar @itsankit-google Please review.