Change docker-compose #48
GitHub Actions / test-result-Eval
failed
Oct 3, 2024 in 0s
5 tests run, 4 passed, 0 skipped, 1 failed.
Annotations
github-actions / test-result-Eval
TestPetstore.testTotalPetsToDeliverByAddress
There are 2 failed assertion(s)
Failure 1: Strings are different. First diff at line 4 column 128.
- Visual diffs at: target/diff-0.html
- Call Stack:
at test4giis.tdrules.tdg.st.eval.petstore.TestPetstore.assertFiles(TestPetstore.java:144)
Failure 2: Strings are different. First diff at line 1 column 20.
- Visual diffs at: target/diff-1.html
- Call Stack:
at test4giis.tdrules.tdg.st.eval.petstore.TestPetstore.assertFiles(TestPetstore.java:144) expected:<...jpg"],"tags":[{"id":[703,"name":"Puppy"}],"status":"available"}
"pet":{"id":2,"category":{"id":2,"name":"Lion"},"name":"Luna","photoUrls":["http://localhost/photos/000403.jpg"],"tags":[{"id":803,"name":"Young"}],"status":"pending"}
"pet":{"id":3,"category":{"id":2,"name":"Lion"},"name":"Charlie","photoUrls":["http://localhost/photos/000503.jpg"],"tags":[{"id":903,"name":"Old"}],"status":"sold"}
"pet":{"id":4,"category":{"id":1,"name":"Tiger"},"name":"Bella","photoUrls":["http://localhost/photos/000603.jpg"],"status":"available"}
"pet":{"id":5,"category":{"id":1,"name":"Tiger"},"name":"Cooper","tags":[{"id":1003,"name":"Puppy-1"}],"status":"pending"}
"order":{"id":1,"petId":1,"customerId":1,"quantity":11,"shipDate":"2024-01-26","status":"placed","complete":false}
"order":{"id":2,"petId":1,"customerId":1,"quantity":7,"shipDate":"2024-01-27","status":"approved","complete":true}
"order":{"id":3,"petId":2,"customerId":1,"quantity":3,"shipDate":"2024-01-28","status":"approved","complete":false}
"order":{"id":4,"petId":1,"customerId":2,"quantity":12,"shipDate":"2024-01-29","status":"approved","complete":true}
"order":{"id":5,"petId":4,"customerId":1,"quantity":8,"shipDate":"2024-01-30","status":"approved","complete":false}
"order":{"id":6,"petId":5,"customerId":1,"quantity":4,"shipDate":"2024-02-01","status":"approved","complete":true}
"customer":{"id":1,"username":"James Smith","address":[{"street":"Main St","city":"Springfield","state":"California","zip":"0"}]}
"customer":{"id":2,"username":"Mary Johnson"}
"customer":{"id":3,"username":"Robert Williams","address":[{"street":"Broadway","city":"Franklin","state":"Texas","zip":"1"}]}
---------------------------
-------- Failure 2 --------
---------------------------
{"zip":"0","total":22}
{"zip":"1","total":0]}
> but was:<...jpg"],"tags":[{"id":[803,"name":"Puppy"}],"status":"pending"}
"pet":{"id":2,"category":{"id":2,"name":"Lion"},"name":"Luna","photoUrls":["http://localhost/photos/000403.jpg","http://localhost/photos/000503.jpg"],"tags":[{"id":903,"name":"Young"}],"status":"sold"}
"pet":{"id":3,"category":{"id":1,"name":"Tiger"},"name":"Charlie","photoUrls":["http://localhost/photos/000603.jpg"],"tags":[{"id":1003,"name":"Old"}],"status":"available"}
"pet":{"id":4,"category":{"id":1,"name":"Tiger"},"name":"Bella","photoUrls":["http://localhost/photos/000703.jpg"],"status":"pending"}
"pet":{"id":5,"category":{"id":1,"name":"Tiger"},"name":"Cooper","tags":[{"id":1103,"name":"Puppy-1"}],"status":"sold"}
"order":{"id":1,"petId":1,"customerId":1,"quantity":3,"shipDate":"2024-01-28","status":"placed","complete":false}
"order":{"id":2,"petId":1,"customerId":1,"quantity":12,"shipDate":"2024-01-29","status":"approved","complete":true}
"order":{"id":3,"petId":2,"customerId":1,"quantity":8,"shipDate":"2024-01-30","status":"approved","complete":false}
"order":{"id":4,"petId":2,"customerId":1,"quantity":4,"shipDate":"2024-02-01","status":"approved","complete":true}
"order":{"id":5,"petId":1,"customerId":2,"quantity":13,"shipDate":"2024-02-02","status":"approved","complete":false}
"order":{"id":6,"petId":4,"customerId":1,"quantity":9,"shipDate":"2024-02-03","status":"approved","complete":true}
"order":{"id":7,"petId":5,"customerId":1,"quantity":5,"shipDate":"2024-02-04","status":"approved","complete":false}
"customer":{"id":1,"username":"James Smith","address":[{"street":"Main St","city":"Springfield","state":"California","zip":"0"},{"street":"Broadway","city":"Franklin","state":"Texas","zip":"1"}]}
"customer":{"id":2,"username":"Mary Johnson"}
"customer":{"id":3,"username":"Robert Williams","address":[{"street":"Park Ave","city":"Greenville","state":"Florida","zip":"0"}]}
---------------------------
-------- Failure 2 --------
---------------------------
{"zip":"0","total":38}
{"zip":"1","total":38]}
>
Raw output
org.junit.ComparisonFailure: There are 2 failed assertion(s)
Failure 1: Strings are different. First diff at line 4 column 128.
- Visual diffs at: target/diff-0.html
- Call Stack:
at test4giis.tdrules.tdg.st.eval.petstore.TestPetstore.assertFiles(TestPetstore.java:144)
Failure 2: Strings are different. First diff at line 1 column 20.
- Visual diffs at: target/diff-1.html
- Call Stack:
at test4giis.tdrules.tdg.st.eval.petstore.TestPetstore.assertFiles(TestPetstore.java:144) expected:<...jpg"],"tags":[{"id":[703,"name":"Puppy"}],"status":"available"}
"pet":{"id":2,"category":{"id":2,"name":"Lion"},"name":"Luna","photoUrls":["http://localhost/photos/000403.jpg"],"tags":[{"id":803,"name":"Young"}],"status":"pending"}
"pet":{"id":3,"category":{"id":2,"name":"Lion"},"name":"Charlie","photoUrls":["http://localhost/photos/000503.jpg"],"tags":[{"id":903,"name":"Old"}],"status":"sold"}
"pet":{"id":4,"category":{"id":1,"name":"Tiger"},"name":"Bella","photoUrls":["http://localhost/photos/000603.jpg"],"status":"available"}
"pet":{"id":5,"category":{"id":1,"name":"Tiger"},"name":"Cooper","tags":[{"id":1003,"name":"Puppy-1"}],"status":"pending"}
"order":{"id":1,"petId":1,"customerId":1,"quantity":11,"shipDate":"2024-01-26","status":"placed","complete":false}
"order":{"id":2,"petId":1,"customerId":1,"quantity":7,"shipDate":"2024-01-27","status":"approved","complete":true}
"order":{"id":3,"petId":2,"customerId":1,"quantity":3,"shipDate":"2024-01-28","status":"approved","complete":false}
"order":{"id":4,"petId":1,"customerId":2,"quantity":12,"shipDate":"2024-01-29","status":"approved","complete":true}
"order":{"id":5,"petId":4,"customerId":1,"quantity":8,"shipDate":"2024-01-30","status":"approved","complete":false}
"order":{"id":6,"petId":5,"customerId":1,"quantity":4,"shipDate":"2024-02-01","status":"approved","complete":true}
"customer":{"id":1,"username":"James Smith","address":[{"street":"Main St","city":"Springfield","state":"California","zip":"0"}]}
"customer":{"id":2,"username":"Mary Johnson"}
"customer":{"id":3,"username":"Robert Williams","address":[{"street":"Broadway","city":"Franklin","state":"Texas","zip":"1"}]}
---------------------------
-------- Failure 2 --------
---------------------------
{"zip":"0","total":22}
{"zip":"1","total":0]}
> but was:<...jpg"],"tags":[{"id":[803,"name":"Puppy"}],"status":"pending"}
"pet":{"id":2,"category":{"id":2,"name":"Lion"},"name":"Luna","photoUrls":["http://localhost/photos/000403.jpg","http://localhost/photos/000503.jpg"],"tags":[{"id":903,"name":"Young"}],"status":"sold"}
"pet":{"id":3,"category":{"id":1,"name":"Tiger"},"name":"Charlie","photoUrls":["http://localhost/photos/000603.jpg"],"tags":[{"id":1003,"name":"Old"}],"status":"available"}
"pet":{"id":4,"category":{"id":1,"name":"Tiger"},"name":"Bella","photoUrls":["http://localhost/photos/000703.jpg"],"status":"pending"}
"pet":{"id":5,"category":{"id":1,"name":"Tiger"},"name":"Cooper","tags":[{"id":1103,"name":"Puppy-1"}],"status":"sold"}
"order":{"id":1,"petId":1,"customerId":1,"quantity":3,"shipDate":"2024-01-28","status":"placed","complete":false}
"order":{"id":2,"petId":1,"customerId":1,"quantity":12,"shipDate":"2024-01-29","status":"approved","complete":true}
"order":{"id":3,"petId":2,"customerId":1,"quantity":8,"shipDate":"2024-01-30","status":"approved","complete":false}
"order":{"id":4,"petId":2,"customerId":1,"quantity":4,"shipDate":"2024-02-01","status":"approved","complete":true}
"order":{"id":5,"petId":1,"customerId":2,"quantity":13,"shipDate":"2024-02-02","status":"approved","complete":false}
"order":{"id":6,"petId":4,"customerId":1,"quantity":9,"shipDate":"2024-02-03","status":"approved","complete":true}
"order":{"id":7,"petId":5,"customerId":1,"quantity":5,"shipDate":"2024-02-04","status":"approved","complete":false}
"customer":{"id":1,"username":"James Smith","address":[{"street":"Main St","city":"Springfield","state":"California","zip":"0"},{"street":"Broadway","city":"Franklin","state":"Texas","zip":"1"}]}
"customer":{"id":2,"username":"Mary Johnson"}
"customer":{"id":3,"username":"Robert Williams","address":[{"street":"Park Ave","city":"Greenville","state":"Florida","zip":"0"}]}
---------------------------
-------- Failure 2 --------
---------------------------
{"zip":"0","total":38}
{"zip":"1","total":38]}
>
at org.junit.Assert.assertEquals(Assert.java:117)
at giis.visualassert.FrameworkAssert.failNotEquals(FrameworkAssert.java:25)
at giis.visualassert.SoftVisualAssert.assertAll(SoftVisualAssert.java:120)
at giis.visualassert.SoftVisualAssert.assertAll(SoftVisualAssert.java:126)
at test4giis.tdrules.tdg.st.eval.petstore.TestPetstore.assertReadResults(TestPetstore.java:100)
at test4giis.tdrules.tdg.st.eval.petstore.TestPetstore.testTotalPetsToDeliverByAddress(TestPetstore.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Loading