Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky writeXML test? #934

Open
TWiStErRob opened this issue Dec 20, 2024 · 0 comments
Open

Flaky writeXML test? #934

TWiStErRob opened this issue Dec 20, 2024 · 0 comments
Labels
in:test is:bug Something isn't working

Comments

@TWiStErRob
Copy link
Owner

https://github.com/TWiStErRob/net.twisterrob.cinema/pull/933/checks?check_run_id=34697936076

write feed XML() (net.twisterrob.cinema.cineworld.sync.syndication.FeedIntgTest) failed

/github/workspace/planner/backend/feed/build/test-results/integrationTest/TEST-net.twisterrob.cinema.cineworld.sync.syndication.FeedIntgTest.xml [took 0s]
org.opentest4j.AssertionFailedError: expected: <<feed>
  <attributes>
    <attribute code="9303681b-c0d6-4efb-9c24-ded4fad1a817">e6eb6f7a-0b52-4c2f-9826-d1368597fe61</attribute>
  </attributes>
  <cinemas>
    <cinema id="10">
      <url>http://localhost</url>
      <name>e7ecbcff-fce2-47aa-9e69-59d9708dfeba</name>
      <address>54d538d0-4ca9-4282-858b-6bd7067ce9c4</address>
      <postcode>75aedfa1-1c2e-4c60-a655-4d21088486d3</postcode>
      <phone>ae571d01-5ae7-4bca-bb14-989d760a6df6</phone>
      <services>062a2ca9-c923-4154-bcf5-ba1f659395f6</services>
    </cinema>
  </cinemas>
  <films>
    <film id="87">
      <title>a85b4e91-9d04-4895-9d01-1cafe6cb2a64</title>
      <url>http://localhost</url>
      <classification>f46e2ea5-154b-47f9-962b-bd7c71b6b8f3</classification>
      <releaseDate>2024-12-20T00:00:00Z</releaseDate>
      <runningTime>40</runningTime>
      <director>7cc366f7-fe9d-4a74-b344-31b740122068</director>
      <cast>3a94b4a9-e03a-4e62-844d-b03bf0632351</cast>
      <synopsis>8b47cf65-2eee-4720-96d4-73bac8626a90</synopsis>
      <posterUrl>http://localhost</posterUrl>
      <reasonToSee>2927a861-74df-4700-96e9-ade38ac0997a</reasonToSee>
      <attributes>208b94d8-f0d6-4782-9b67-87c9d6b14d54</attributes>
      <trailerUrl>http://localhost</trailerUrl>
    </film>
  </films>
  <performances>
    <screening film="87" cinema="10">
      <url>http://localhost</url>
      <date>2024-12-20T07:46Z</date>
      <attributes>9303681b-c0d6-4efb-9c24-ded4fad1a817</attributes>
    </screening>
  </performances>
</feed>
> but was: <<feed>
  <attributes>
    <attribute code="9303681b-c0d6-4efb-9c24-ded4fad1a817">e6eb6f7a-0b52-4c2f-9826-d1368597fe61</attribute>
  </attributes>
  <cinemas>
    <cinema id="10">
      <url>http://localhost</url>
      <name>e7ecbcff-fce2-47aa-9e69-59d9708dfeba</name>
      <address>54d538d0-4ca9-4282-858b-6bd7067ce9c4</address>
      <postcode>75aedfa1-1c2e-4c60-a655-4d21088486d3</postcode>
      <phone>ae571d01-5ae7-4bca-bb14-989d760a6df6</phone>
      <services>062a2ca9-c923-4154-bcf5-ba1f659395f6</services>
    </cinema>
  </cinemas>
  <films>
    <film id="87">
      <title>a85b4e91-9d04-4895-9d01-1cafe6cb2a64</title>
      <url>http://localhost</url>
      <classification>f46e2ea5-154b-47f9-962b-bd7c71b6b8f3</classification>
      <releaseDate>2024-12-20T00:00:00Z</releaseDate>
      <runningTime>40</runningTime>
      <director>7cc366f7-fe9d-4a74-b344-31b740122068</director>
      <cast>3a94b4a9-e03a-4e62-844d-b03bf0632351</cast>
      <synopsis>8b47cf65-2eee-4720-96d4-73bac8626a90</synopsis>
      <posterUrl>http://localhost</posterUrl>
      <reasonToSee>2927a861-74df-4700-96e9-ade38ac0997a</reasonToSee>
      <attributes>208b94d8-f0d6-4782-9b67-87c9d6b14d54</attributes>
      <trailerUrl>http://localhost</trailerUrl>
    </film>
  </films>
  <performances>
    <screening film="87" cinema="10">
      <url>http://localhost</url>
      <date>2024-12-20T07:46:00Z</date>
      <attributes>9303681b-c0d6-4efb-9c24-ded4fad1a817</attributes>
    </screening>
  </performances>
</feed>
>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at app//net.twisterrob.cinema.cineworld.sync.syndication.FeedIntgTest.write feed XML(FeedIntgTest.kt:104)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
@TWiStErRob TWiStErRob added is:bug Something isn't working in:test labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:test is:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant