Skip to content

Execute Integration Tests and initialize S3 bucket #841

Description

@albertpost

It's unclear to me how the integration tests can be executed. The instructions for running tests is the following method: build/sbt test. To also be able to run the integration tests, I created a new Amazon S3 bucket. I set the environment variables: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
In TestResource.scala, I changed {AWS.bucket} = "delta-exchange-test" to my new S3 bucket.

Should the test create the initial data in S3 or are there other steps required? How can I run integration tests?

Any tips and support are appreciated.

This involves the following data.

share = "share1", schema = "default", table = "table1",
share = "share2", schema = "default", table = "table2",
share = "share1", schema = "default", table = "table3",
share = "share3", schema = "default", table = "table4",
share = "share3", schema = "default", table = "table5",
share = "share1", schema = "default", table = "table7",
share = "share7", schema = "schema1", table = "table8",
share = "share7", schema = "schema2", table = "table9",
share = "share8", schema = "default", table = "cdf_table_cdf_enabled",
share = "share8", schema = "default", table = "cdf_table_with_partition",
share = "share8", schema = "default", table = "cdf_table_with_vacuum",
share = "share8", schema = "default", table = "cdf_table_missing_log",
share = "share8", schema = "default", table = "streaming_table_with_optimize",
share = "share8", schema = "default", table = "streaming_table_metadata_protocol",
share = "share8", schema = "default", table = "streaming_notnull_to_null",
share = "share8", schema = "default", table = "streaming_null_to_notnull",
share = "share8", schema = "default", table = "streaming_cdf_null_to_notnull",
share = "share8", schema = "default", table = "streaming_cdf_table",
share = "share8", schema = "default", table = "table_reader_version_increased",
share = "share8", schema = "default", table = "table_with_no_metadata",
share = "share8", schema = "default", table = "table_data_loss_with_checkpoint",
share = "share8", schema = "default", table = "table_data_loss_no_checkpoint",
share = "share4", schema = "default", table = "test_gzip",
share = "share_azure", schema = "default", table = "table_wasb",
share = "share_azure", schema = "default", table = "table_abfs",
share = "share_gcp", schema = "default", table = "table_gcs",
share = "share8", schema = "default", table = "table_with_cm_name",
share = "share8", schema = "default", table = "table_with_cm_id",
share = "share8", schema = "default", table = "deletion_vectors_with_dvs_dv_property_on",
share = "share8", schema = "default", table = "dv_and_cm_table",
share = "share8", schema = "default", table = "timestampntz_cdf_table",
share = "share8", schema = "default", table = "12k_rows",
share = "share8", schema = "default", table = "timestampntz_cdf_table",
share = "share8", schema = "default", table = "add_columns_non_partitioned_cdf",
share = "share8", schema = "default", table = "add_columns_partitioned_cdf",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions