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

🐛 SAT: Update DictWithHash class in test_sequential_reads #5738

Merged
merged 5 commits into from
Sep 3, 2021

Conversation

annalvova05
Copy link
Contributor

What

Update function for the comparison test with equal data in an array.

How

Overwrite magic methods in DictWithHash class for test_sequential_reads acceptance test.

Recommended reading order

  1. x.java
  2. y.python

Pre-merge Checklist

Expand the relevant checklist and delete the others.

New Connector

Community member or Airbyter

  • Community member? Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • docs/SUMMARY.md
    • docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
    • docs/integrations/README.md
    • airbyte-integrations/builds.md
  • PR name follows PR naming conventions
  • Connector added to connector index like described here

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • Credentials added to Github CI. Instructions.
  • /test connector=connectors/<name> command is passing.
  • New Connector version released on Dockerhub by running the /publish command described here

Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Changelog updated in docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
  • PR name follows PR naming conventions
  • Connector version bumped like described here

Airbyter

If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.

  • Create a non-forked branch based on this PR and test the below items on it
  • Build is successful
  • Credentials added to Github CI. Instructions.
  • /test connector=connectors/<name> command is passing.
  • New Connector version released on Dockerhub by running the /publish command described here

Connector Generator

  • Issue acceptance criteria met
  • PR name follows PR naming conventions
  • If adding a new generator, add it to the list of scaffold modules being tested
  • The generator test modules (all connectors with -scaffold in their name) have been updated with the latest scaffold by running ./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates then checking in your changes
  • Documentation which references the generator is updated as needed.

Copy link
Contributor

@antixar antixar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sherifnada sherifnada requested a review from keu August 31, 2021 00:46
@sherifnada
Copy link
Contributor

assigning @keu as SAT empror

@annalvova05 annalvova05 changed the title 🐛 Update DictWithHash class in test_sequential_reads 🐛 SAT: Update DictWithHash class in test_sequential_reads Aug 31, 2021
@keu keu requested review from avida and removed request for keu September 1, 2021 12:44
@avida
Copy link
Contributor

avida commented Sep 1, 2021

We have unit_tests/ directory with unittests for SAT. Could you add test_utils.py file with test for "serialize" function for this case please?

@annalvova05
Copy link
Contributor Author

We have unit_tests/ directory with unittests for SAT. Could you add test_utils.py file with test for "serialize" function for this case please?

@avida Thanks! Added tests

@annalvova05
Copy link
Contributor Author

annalvova05 commented Sep 3, 2021

/publish connector=bases/source-acceptance-test

🕑 bases/source-acceptance-test https://github.com/airbytehq/airbyte/actions/runs/1197347773
✅ bases/source-acceptance-test https://github.com/airbytehq/airbyte/actions/runs/1197347773

@jrhizor jrhizor temporarily deployed to more-secrets September 3, 2021 08:47 Inactive
@annalvova05 annalvova05 self-assigned this Sep 3, 2021
@annalvova05 annalvova05 merged commit 7f18cec into master Sep 3, 2021
@annalvova05 annalvova05 deleted the alvova/5735-fix-test-sequential-reads branch September 3, 2021 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SAT: TestIncremental.test_two_sequential_reads failed for equal data in array
5 participants