Grokking Spring Boot
0% completed
Full Application Tests
Two tests of the booking service passed when each was run alone. Run together in one build, both failed with the same message:
[ERROR] com.example.booking.BookingFlowTest.secondBookingOfTheSameSeatIsRefused -- Time elapsed: 0.025 s <<< ERROR! com.example.booking.bookings.SeatTakenException: Seat A12 is already booked [ERROR] com.example.booking.CancelFlowTest.canceledSeatCanBeBookedAgain -- Time elapsed: 0.028 s <<< ERROR! com.example.booking.bookings.SeatTakenException: Seat A12 is already booked
Each test books seat A12 first
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%