diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index 153cf5ed6..619a33e24 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -15,8 +15,13 @@ sbt integtest/test ### AWS Integration Test The integration folder contains tests for cloud server providers. For instance, test against AWS OpenSearch domain, configure the following settings. The client will use the default credential provider to access the AWS OpenSearch domain. ``` -export AWS_OPENSEARCH_HOST=search-xxx.aos.us-west-2.on.aws +export AWS_OPENSEARCH_HOST=search-xxx.us-west-2.on.aws export AWS_REGION=us-west-2 +export AWS_EMRS_APPID=xxx +export AWS_EMRS_EXECUTION_ROLE=xxx +export AWS_S3_CODE_BUCKET=xxx +export AWS_S3_CODE_PREFIX=xxx +export AWS_OPENSEARCH_RESULT_INDEX=query_execution_result_glue ``` And run the ``` diff --git a/integ-test/src/integration/scala/org/opensearch/flint/spark/aws/AWSEmrServerlessAccessTestSuite.scala b/integ-test/src/integration/scala/org/opensearch/flint/spark/aws/AWSEmrServerlessAccessTestSuite.scala index 2b1daee1d..67e036d28 100644 --- a/integ-test/src/integration/scala/org/opensearch/flint/spark/aws/AWSEmrServerlessAccessTestSuite.scala +++ b/integ-test/src/integration/scala/org/opensearch/flint/spark/aws/AWSEmrServerlessAccessTestSuite.scala @@ -18,7 +18,11 @@ import org.scalatest.matchers.should.Matchers import org.apache.spark.internal.Logging -class AWSEmrServerlessAccessTestSuite extends AnyFlatSpec with BeforeAndAfter with Matchers with Logging { +class AWSEmrServerlessAccessTestSuite + extends AnyFlatSpec + with BeforeAndAfter + with Matchers + with Logging { lazy val testHost: String = System.getenv("AWS_OPENSEARCH_HOST") lazy val testPort: Int = -1