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

ElasticSearch, GCS, Keen, Kafka, Kinesis destinations : Enable DAT tests #11971

Merged
merged 25 commits into from
Apr 19, 2022

Conversation

DoNotPanicUA
Copy link
Contributor

@DoNotPanicUA DoNotPanicUA commented Apr 13, 2022

What

Enable DAT tests #9443

  • Destination ElasticSearch
  • Destination GCS
  • Destination Keen
  • Destination Kafka
  • Destination Kinesis

Recommended reading order

  1. x.java
  2. y.python

@github-actions github-actions bot added the area/connectors Connector related issues label Apr 13, 2022
@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-elasticsearch

🕑 connectors/destination-elasticsearch https://github.com/airbytehq/airbyte/actions/runs/2161989055

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-gcs

🕑 connectors/destination-gcs https://github.com/airbytehq/airbyte/actions/runs/2161990039
❌ connectors/destination-gcs https://github.com/airbytehq/airbyte/actions/runs/2161990039
🐛

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-kafka

🕑 connectors/destination-kafka https://github.com/airbytehq/airbyte/actions/runs/2161991358
✅ connectors/destination-kafka https://github.com/airbytehq/airbyte/actions/runs/2161991358
No Python unittests run

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-keen

🕑 connectors/destination-keen https://github.com/airbytehq/airbyte/actions/runs/2161992338
✅ connectors/destination-keen https://github.com/airbytehq/airbyte/actions/runs/2161992338
No Python unittests run

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-kinesis

🕑 connectors/destination-kinesis https://github.com/airbytehq/airbyte/actions/runs/2161993791
✅ connectors/destination-kinesis https://github.com/airbytehq/airbyte/actions/runs/2161993791
No Python unittests run

…are it with actualObject elements. Expected might have empty elements and they are equal missing element in the actual Object. Also, actualObject might contain additional elements which is not an exception.
@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-gcs

🕑 connectors/destination-gcs https://github.com/airbytehq/airbyte/actions/runs/2162268090
❌ connectors/destination-gcs https://github.com/airbytehq/airbyte/actions/runs/2162268090
🐛

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-kafka

🕑 connectors/destination-kafka https://github.com/airbytehq/airbyte/actions/runs/2162269115
✅ connectors/destination-kafka https://github.com/airbytehq/airbyte/actions/runs/2162269115
No Python unittests run

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-kinesis

🕑 connectors/destination-kinesis https://github.com/airbytehq/airbyte/actions/runs/2162270248
✅ connectors/destination-kinesis https://github.com/airbytehq/airbyte/actions/runs/2162270248
No Python unittests run

@DoNotPanicUA

This comment was marked as outdated.

@DoNotPanicUA DoNotPanicUA self-assigned this Apr 13, 2022
@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-gcs

🕑 connectors/destination-gcs https://github.com/airbytehq/airbyte/actions/runs/2163783253
✅ connectors/destination-gcs https://github.com/airbytehq/airbyte/actions/runs/2163783253
No Python unittests run

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 13, 2022

/test connector=connectors/destination-keen

🕑 connectors/destination-keen https://github.com/airbytehq/airbyte/actions/runs/2163783594
❌ connectors/destination-keen https://github.com/airbytehq/airbyte/actions/runs/2163783594
🐛 https://gradle.com/s/7pkhckv24akxe

Test is not stable and has change of random fail

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 14, 2022

/test connector=connectors/destination-keen

🕑 connectors/destination-keen https://github.com/airbytehq/airbyte/actions/runs/2166288443
✅ connectors/destination-keen https://github.com/airbytehq/airbyte/actions/runs/2166288443
No Python unittests run

@DoNotPanicUA DoNotPanicUA changed the title ... destinations : Enable DAT tests ElasticSearch, GCS, Keen, Kafka, Kinesis destinations : Enable DAT tests Apr 14, 2022
@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 19, 2022

/test connector=connectors/destination-keen

🕑 connectors/destination-keen https://github.com/airbytehq/airbyte/actions/runs/2189040400
✅ connectors/destination-keen https://github.com/airbytehq/airbyte/actions/runs/2189040400
No Python unittests run

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 19, 2022

/test connector=connectors/destination-gcs

🕑 connectors/destination-gcs https://github.com/airbytehq/airbyte/actions/runs/2189041058
✅ connectors/destination-gcs https://github.com/airbytehq/airbyte/actions/runs/2189041058
No Python unittests run

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 19, 2022

/test connector=connectors/destination-kinesis

🕑 connectors/destination-kinesis https://github.com/airbytehq/airbyte/actions/runs/2189041078
✅ connectors/destination-kinesis https://github.com/airbytehq/airbyte/actions/runs/2189041078
No Python unittests run

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 19, 2022

/test connector=connectors/destination-kafka

🕑 connectors/destination-kafka https://github.com/airbytehq/airbyte/actions/runs/2189041873
✅ connectors/destination-kafka https://github.com/airbytehq/airbyte/actions/runs/2189041873
No Python unittests run

@DoNotPanicUA DoNotPanicUA marked this pull request as ready for review April 19, 2022 10:27
@DoNotPanicUA DoNotPanicUA merged commit 57d059f into master Apr 19, 2022
@DoNotPanicUA DoNotPanicUA deleted the aleonets/dat-EGK branch April 19, 2022 10:56
suhomud pushed a commit that referenced this pull request May 23, 2022
…sts (#11971)

* add Boolean, Number, DateTimeWithTZ compare methods

* Improve value comparison

* Compare inherit objects element by element

* Move comparison methods to a new class not to overload the test class.
Basic - old implementation which provides backward compatibility of this PR.
Advanced - comparator required for destinations with enabled DAT tests.

* format

* Move common method to ComparatorUtils. + Review update

* format

* review

* review

* mark resolveIdentifier method as deprecated

* enable DAT tests for destination-Elasticsearch, destination-gcs, destination-kafka, destination-keen, destination-kinesis

* remove size objects validation. We iterate expected elements and compare it with actualObject elements. Expected might have empty elements and they are equal missing element in the actual Object. Also, actualObject might contain additional elements which is not an exception.

* fix Csv actual data read. + use proper comparator for different file types

* format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run the new DAT(s) against all destinations and find destinations that are not compliant
2 participants