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

Astarte Export: Update tests for Astarte export #1051

Open
5 tasks
osmanhadzic opened this issue Jan 22, 2025 · 0 comments
Open
5 tasks

Astarte Export: Update tests for Astarte export #1051

osmanhadzic opened this issue Jan 22, 2025 · 0 comments

Comments

@osmanhadzic
Copy link
Contributor

osmanhadzic commented Jan 22, 2025

Make adjustments to the automated tests for Astarte tools as follows:

  • Update the configuration to use astarte_export_test as the test realm name.
  • Update the test data to include missing data types (e.g., arrays).
  • Fix any broken tests identified during the changes.

Environment Setup

To run the test, ensure the following environment variables are set:

export CASSANDRA_DB_HOST="127.0.0.1"  
export CASSANDRA_DB_PORT=9042  
export CASSANDRA_NODES="localhost:9042" 

Additionally, ensure the Scylla database is running and port 9042 is exposed.

To Reproduce

  • Open astarte/tools/astarte_export/test
  • Run command mix test

Files

List of files potentially affected:

Tasks

  • Use astarte_export_test as the default realm name.
  • Add test cases for array data types.
  • Fix any broken tests identified during or after the changes.
  • Ensure that all existing tests pass after the changes.
  • Update documentation if necessary.
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

No branches or pull requests

1 participant