CatalogueRepositoryTest
Tests
| Test |
Duration |
Result |
| sampleProductAndStockCanBeRead() |
0.160s |
passed |
Standard output
2026-10-18T11:02:31.003Z INFO 3989 --- [ Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.comp5348.group06.store.repository.CatalogueRepositoryTest]: CatalogueRepositoryTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-10-18T11:02:31.032Z INFO 3989 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.comp5348.group06.store.StoreApplication for test class com.comp5348.group06.store.repository.CatalogueRepositoryTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.3.3)
2026-10-18T11:02:31.061Z INFO 3989 --- [ Test worker] c.c.g.s.r.CatalogueRepositoryTest : Starting CatalogueRepositoryTest using Java 17.0.20.1 with PID 3989 (started by runner in /home/runner/work/comp5348-ci-relay/comp5348-ci-relay/repo/store)
2026-10-18T11:02:31.061Z INFO 3989 --- [ Test worker] c.c.g.s.r.CatalogueRepositoryTest : No active profile set, falling back to 1 default profile: "default"
2026-10-18T11:02:31.538Z INFO 3989 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-10-18T11:02:31.617Z INFO 3989 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 72 ms. Found 6 JPA repository interfaces.
2026-10-18T11:02:31.819Z INFO 3989 --- [ Test worker] tc.postgres:17 : Creating container for image: postgres:17
2026-10-18T11:02:31.849Z INFO 3989 --- [ Test worker] tc.postgres:17 : Container postgres:17 is starting: defc5f10a25e09b98cb8d4de56f1fb71b65a4a0e2ad907d5f229e5e7f5264921
2026-10-18T11:02:33.190Z INFO 3989 --- [ Test worker] tc.postgres:17 : Container postgres:17 started in PT1.371099613S
2026-10-18T11:02:33.191Z INFO 3989 --- [ Test worker] tc.postgres:17 : Container is started (JDBC URL: jdbc:postgresql://localhost:32782/test?loggerLevel=OFF)
2026-10-18T11:02:33.608Z INFO 3989 --- [ Test worker] org.flywaydb.core.FlywayExecutor : Database: jdbc:postgresql://localhost:32782/test (PostgreSQL 17.11)
2026-10-18T11:02:33.621Z WARN 3989 --- [ Test worker] o.f.c.internal.database.base.Database : Flyway upgrade recommended: PostgreSQL 17.11 is newer than this version of Flyway and support has not been tested. The latest supported version of PostgreSQL is 16.
2026-10-18T11:02:33.645Z INFO 3989 --- [ Test worker] o.f.c.i.s.JdbcTableSchemaHistory : Schema history table "public"."flyway_schema_history" does not exist yet
2026-10-18T11:02:33.648Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbValidate : Successfully validated 8 migrations (execution time 00:00.014s)
2026-10-18T11:02:33.666Z INFO 3989 --- [ Test worker] o.f.c.i.s.JdbcTableSchemaHistory : Creating Schema History table "public"."flyway_schema_history" ...
2026-10-18T11:02:33.761Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Current version of schema "public": << Empty Schema >>
2026-10-18T11:02:33.771Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Migrating schema "public" to version "1 - create customer"
2026-10-18T11:02:33.797Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Migrating schema "public" to version "2 - create catalogue"
2026-10-18T11:02:33.817Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Migrating schema "public" to version "3 - create orders"
2026-10-18T11:02:33.833Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Migrating schema "public" to version "4 - create reservations"
2026-10-18T11:02:33.850Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Migrating schema "public" to version "5 - customer bank account"
2026-10-18T11:02:33.863Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Migrating schema "public" to version "6 - order bank account snapshots"
2026-10-18T11:02:33.873Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Migrating schema "public" to version "7 - payment requests"
2026-10-18T11:02:33.883Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Migrating schema "public" to version "8 - order refund requests"
2026-10-18T11:02:33.900Z INFO 3989 --- [ Test worker] o.f.core.internal.command.DbMigrate : Successfully applied 8 migrations to schema "public", now at version v8 (execution time 00:00.043s)
2026-10-18T11:02:33.925Z INFO 3989 --- [ Test worker] o.f.c.i.c.SqlScriptCallbackFactory : Executing SQL callback: afterMigrate -
2026-10-18T11:02:34.059Z INFO 3989 --- [ Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-10-18T11:02:34.110Z INFO 3989 --- [ Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.5.2.Final
2026-10-18T11:02:34.152Z INFO 3989 --- [ Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-10-18T11:02:34.313Z INFO 3989 --- [ Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-10-18T11:02:34.339Z INFO 3989 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2026-10-18T11:02:34.362Z INFO 3989 --- [ Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@6c945ef9
2026-10-18T11:02:34.364Z INFO 3989 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2026-10-18T11:02:35.349Z INFO 3989 --- [ Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-10-18T11:02:35.388Z INFO 3989 --- [ Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-10-18T11:02:35.917Z INFO 3989 --- [ Test worker] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used.
2026-10-18T11:02:37.259Z INFO 3989 --- [ Test worker] r$InitializeUserDetailsManagerConfigurer : Global AuthenticationManager configured with UserDetailsService bean with name customerUserDetailsService
2026-10-18T11:02:37.390Z INFO 3989 --- [ Test worker] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator'
2026-10-18T11:02:37.722Z INFO 3989 --- [ Test worker] c.c.g.s.r.CatalogueRepositoryTest : Started CatalogueRepositoryTest in 6.685 seconds (process running for 24.218)