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

Local_json, Maridb, Meilisearch, Mongodb, Mqtt destinations : Enable DAT tests #12073

Merged
merged 21 commits into from
Apr 19, 2022

Conversation

DoNotPanicUA
Copy link
Contributor

What

Enable DAT tests #9443

  • Destination Local_json
  • Destination Maridb
  • Destination Meilisearch
  • Destination Mongodb
  • Destination Mqtt

Recommended reading order

  1. x.java
  2. y.python

Basic - old implementation which provides backward compatibility of this PR.
Advanced - comparator required for destinations with enabled DAT tests.
…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 15, 2022

/test connector=connectors/destination-local_json

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

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 15, 2022

/test connector=connectors/destination-local-json

🕑 connectors/destination-local-json https://github.com/airbytehq/airbyte/actions/runs/2173166851
✅ connectors/destination-local-json https://github.com/airbytehq/airbyte/actions/runs/2173166851
No Python unittests run

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 15, 2022

/test connector=connectors/destination-mariadb-columnstore

🕑 connectors/destination-mariadb-columnstore https://github.com/airbytehq/airbyte/actions/runs/2173168017

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 15, 2022

/test connector=connectors/destination-meilisearch

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

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 15, 2022

/test connector=connectors/destination-mongodb

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

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 15, 2022

/test connector=connectors/destination-mqtt

🕑 connectors/destination-mqtt https://github.com/airbytehq/airbyte/actions/runs/2173170109
❌ connectors/destination-mqtt https://github.com/airbytehq/airbyte/actions/runs/2173170109
🐛 https://gradle.com/s/bwjhcl6polu3s

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 19, 2022

/test connector=connectors/destination-mqtt

🕑 connectors/destination-mqtt https://github.com/airbytehq/airbyte/actions/runs/2189045794
❌ connectors/destination-mqtt https://github.com/airbytehq/airbyte/actions/runs/2189045794
🐛 https://gradle.com/s/rlzpxxfmd7flo

DAT tests finished without errors. Failed old test which is not a part of the PR scope

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 19, 2022

/test connector=connectors/destination-mongodb

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

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 19, 2022

/test connector=connectors/destination-meilisearch

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

@DoNotPanicUA
Copy link
Contributor Author

DoNotPanicUA commented Apr 19, 2022

/test connector=connectors/destination-local-json

🕑 connectors/destination-local-json https://github.com/airbytehq/airbyte/actions/runs/2189047684
✅ connectors/destination-local-json https://github.com/airbytehq/airbyte/actions/runs/2189047684
No Python unittests run

@DoNotPanicUA DoNotPanicUA marked this pull request as ready for review April 19, 2022 14:50
@DoNotPanicUA DoNotPanicUA merged commit c8c4cf5 into master Apr 19, 2022
@DoNotPanicUA DoNotPanicUA deleted the aleonets/dat-LM branch April 19, 2022 14:54
suhomud pushed a commit that referenced this pull request May 23, 2022
… DAT tests (#12073)

* 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

* 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.

* enable DAT tests for local_json, maridb, meilisearch, mongodb, mqtt
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