LeaderboardControllerIntegrationTest

3

tests

0

failures

0

ignored

0.932s

duration

100%

successful

Tests

Test Duration Result
should get empty array for invalid tier type when leaderboard contains tier of different type() 0.492s passed
should get leaderboard when tier type is either TIER_PRACTICE , TIER1 and TIER2() 0.187s passed
should return all entries when tier not found() 0.253s passed

Standard output

2023-03-13T17:16:14.654Z  INFO 2500 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [delta.codecharacter.server.leaderboard.LeaderboardControllerIntegrationTest]: LeaderboardControllerIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2023-03-13T17:16:14.709Z  INFO 2500 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration delta.codecharacter.server.ServerApplication for test class delta.codecharacter.server.leaderboard.LeaderboardControllerIntegrationTest
2023-03-13T17:16:14.754Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:14.753+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"conn4","msg":"createCollection","attr":{"namespace":"test.public_user","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"41beda96-5ab7-4b2f-a279-7fadf3f60e9c"}},"options":{}}}
2023-03-13T17:16:14.763Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:14.763+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"41beda96-5ab7-4b2f-a279-7fadf3f60e9c"}},"namespace":"test.public_user","index":"_id_","ident":"index-66--4017041888978331020","collectionIdent":"collection-65--4017041888978331020","commitTimestamp":null}}
2023-03-13T17:16:14.972Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:14.972+00:00"},"s":"I",  "c":"COMMAND",  "id":518070,  "ctx":"conn4","msg":"CMD: drop","attr":{"namespace":"test.public_user"}}
2023-03-13T17:16:14.973Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:14.972+00:00"},"s":"I",  "c":"STORAGE",  "id":20318,   "ctx":"conn4","msg":"Finishing collection drop","attr":{"namespace":"test.public_user","uuid":{"uuid":{"$uuid":"41beda96-5ab7-4b2f-a279-7fadf3f60e9c"}}}}
2023-03-13T17:16:14.973Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:14.972+00:00"},"s":"I",  "c":"STORAGE",  "id":22206,   "ctx":"conn4","msg":"Deferring table drop for index","attr":{"index":"_id_","namespace":"test.public_user","uuid":{"uuid":{"$uuid":"41beda96-5ab7-4b2f-a279-7fadf3f60e9c"}},"ident":"index-66--4017041888978331020","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
2023-03-13T17:16:14.973Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:14.972+00:00"},"s":"I",  "c":"STORAGE",  "id":22214,   "ctx":"conn4","msg":"Deferring table drop for collection","attr":{"namespace":"test.public_user","ident":"collection-65--4017041888978331020","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
2023-03-13T17:16:14.999Z  INFO 2500 --- [MessageBroker-1] d.c.server.schedulers.SchedulingService  : Practice phase ended!!
2023-03-13T17:16:15.003Z  INFO 2500 --- [MessageBroker-1] d.c.s.u.public_user.PublicUserService    : Ratings reset after practice phase done
2023-03-13T17:16:15.031Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.030+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"conn3","msg":"createCollection","attr":{"namespace":"test.public_user","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"b27a66c9-b84b-40b4-b566-997d651112e8"}},"options":{}}}
2023-03-13T17:16:15.035Z  INFO 2500 --- [MessageBroker-1] d.c.s.u.public_user.PublicUserService    : Leaderboard tier set during the start of game phase
2023-03-13T17:16:15.041Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.041+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"b27a66c9-b84b-40b4-b566-997d651112e8"}},"namespace":"test.public_user","index":"_id_","ident":"index-68--4017041888978331020","collectionIdent":"collection-67--4017041888978331020","commitTimestamp":null}}
2023-03-13T17:16:15.089Z  WARN 2500 --- [    Test worker] o.h.v.i.p.javabean.JavaBeanExecutable    : HV000254: Missing parameter metadata for TierTypeDto(String, int, String), which declares implicit or synthetic parameters. Automatic resolution of generic type information for method parameters may yield incorrect results if multiple parameters have the same erasure. To solve this, compile your code with the '-parameters' flag.
2023-03-13T17:16:15.174Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.174+00:00"},"s":"I",  "c":"COMMAND",  "id":518070,  "ctx":"conn3","msg":"CMD: drop","attr":{"namespace":"test.public_user"}}
2023-03-13T17:16:15.175Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.174+00:00"},"s":"I",  "c":"STORAGE",  "id":20318,   "ctx":"conn3","msg":"Finishing collection drop","attr":{"namespace":"test.public_user","uuid":{"uuid":{"$uuid":"b27a66c9-b84b-40b4-b566-997d651112e8"}}}}
2023-03-13T17:16:15.175Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.174+00:00"},"s":"I",  "c":"STORAGE",  "id":22206,   "ctx":"conn3","msg":"Deferring table drop for index","attr":{"index":"_id_","namespace":"test.public_user","uuid":{"uuid":{"$uuid":"b27a66c9-b84b-40b4-b566-997d651112e8"}},"ident":"index-68--4017041888978331020","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
2023-03-13T17:16:15.175Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.174+00:00"},"s":"I",  "c":"STORAGE",  "id":22214,   "ctx":"conn3","msg":"Deferring table drop for collection","attr":{"namespace":"test.public_user","ident":"collection-67--4017041888978331020","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
2023-03-13T17:16:15.197Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.196+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"conn3","msg":"createCollection","attr":{"namespace":"test.public_user","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"6246165d-380b-4fd7-9b30-1079a670a938"}},"options":{}}}
2023-03-13T17:16:15.207Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.207+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"6246165d-380b-4fd7-9b30-1079a670a938"}},"namespace":"test.public_user","index":"_id_","ident":"index-70--4017041888978331020","collectionIdent":"collection-69--4017041888978331020","commitTimestamp":null}}
2023-03-13T17:16:15.673Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.673+00:00"},"s":"I",  "c":"COMMAND",  "id":518070,  "ctx":"conn3","msg":"CMD: drop","attr":{"namespace":"test.public_user"}}
2023-03-13T17:16:15.674Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.673+00:00"},"s":"I",  "c":"STORAGE",  "id":20318,   "ctx":"conn3","msg":"Finishing collection drop","attr":{"namespace":"test.public_user","uuid":{"uuid":{"$uuid":"6246165d-380b-4fd7-9b30-1079a670a938"}}}}
2023-03-13T17:16:15.674Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.673+00:00"},"s":"I",  "c":"STORAGE",  "id":22206,   "ctx":"conn3","msg":"Deferring table drop for index","attr":{"index":"_id_","namespace":"test.public_user","uuid":{"uuid":{"$uuid":"6246165d-380b-4fd7-9b30-1079a670a938"}},"ident":"index-70--4017041888978331020","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
2023-03-13T17:16:15.674Z  INFO 2500 --- [       Thread-6] d.f.e.m.s.autoconfigure.EmbeddedMongo    : {"t":{"$date":"2023-03-13T17:16:15.673+00:00"},"s":"I",  "c":"STORAGE",  "id":22214,   "ctx":"conn3","msg":"Deferring table drop for collection","attr":{"namespace":"test.public_user","ident":"collection-69--4017041888978331020","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}