From 2e83d2b0c564d48a1051f5207539ed62639d080f Mon Sep 17 00:00:00 2001 From: Peng Huo Date: Wed, 24 Jul 2024 16:24:52 -0700 Subject: [PATCH] Fix fmt Signed-off-by: Peng Huo --- DEVELOPER_GUIDE.md | 7 ++++++- .../flint/spark/aws/AWSEmrServerlessAccessTestSuite.scala | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) 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