Skip to content

Commit

Permalink
fix: add more heap size for unit tests (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
abalias committed Mar 7, 2023
1 parent 6e941da commit 1734533
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pollux/lib/build.sbt
Expand Up @@ -11,7 +11,10 @@ inThisBuild(
versionScheme := Some("semver-spec"),
githubOwner := "input-output-hk",
githubRepository := "atala-prism-building-blocks",
githubTokenSource := TokenSource.Environment("ATALA_GITHUB_TOKEN")
githubTokenSource := TokenSource.Environment("ATALA_GITHUB_TOKEN"),
Compile / javaOptions += "-Dquill.macro.log=false -Duser.timezone=UTC",
Test / javaOptions += "-Dquill.macro.log=false -Duser.timezone=UTC -Xms2048m -Xmx2048m -Xss16M",
Test / envVars := Map("TZ" -> "UTC")
)
)

Expand Down
Expand Up @@ -158,7 +158,7 @@ object CredentialSchemaSqlIntegrationSpec extends ZIOSpecDefault {
tx <- ZIO.service[Transactor[Task]]
_ <- CredentialSchemaSql.deleteAll.transact(tx)

generatedSchemas <- Generators.schemaUnique.runCollectN(1000)
generatedSchemas <- Generators.schemaUnique.runCollectN(10)

allSchemasHaveUniqueId = assert(
generatedSchemas
Expand Down

0 comments on commit 1734533

Please sign in to comment.