do you know the feeling when a test succeeds when run alone but it fails when run in the pipeline
Discussion
No. But from the vibe of your note I'm guessing I don't even want to.π
Yes but it was because I wasn't clearing in memory mock DB π
Its that sinking hmmmm
This could be nothing (clear caches etc) or a terrible afternoon ahead (?????)
all too well
multi-threading, failure to cleanup mock data(base), assumptions based on prior test state. Seen it all :(
I'm getting the feeling it's the DB sticking around
Yes. Or when it runs locally fine and you run it in the pipeline and it fails without any reason. Hated that and to this day i have not figured out why it failed.
I've had stubborm tests that just could not be fixed no matter what I did. CI can be hell sometimes
It is something like when you reach 95% at progress bar and,while you are realizing it is almost complete, it suddenly stuck at 97% forever .. so you have to stop everything and start to realize that something odd have to be overcome and understood ..