Skip to content

Commit

Permalink
Fix generation of aws-config related code in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoh committed Dec 13, 2023
1 parent c704d15 commit 372c563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class SdkSettings private constructor(private val awsSdk: ObjectNode?) {

/** Whether to generate a README */
val generateReadme: Boolean
get() = awsSdkBuild
get() = awsSdkBuild && !(awsSdk?.getBooleanMember("suppressReadme")?.orNull()?.value ?: false)

val requireEndpointResolver: Boolean
get() = awsSdkBuild
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ fun awsIntegrationTestParams() = IntegrationTestParams(
"awsSdk",
ObjectNode.builder()
.withMember("awsSdkBuild", true)
.withMember("suppressReadme", true)
.withMember("integrationTestPath", "../sdk/integration-tests")
.withMember("partitionsConfigPath", "../sdk/aws-models/sdk-endpoints.json")
.withMember("awsConfigVersion", "1")
.build(),
).build(),
)
Expand Down

0 comments on commit 372c563

Please sign in to comment.