6
cb219
1d

This fucking Integration test with h2 is driving me insane as it just doesn't work for what I need it to! 😤
The setup seems correct, the sql files are "processed" according to logs. Everything seems to be set up as supposed, as AI, colleagues or internet recommend ... yet no insert statements are shown and no data is found on retrieve. No schemas or tables exist in h2 console although log says all these millions of tables are apparently created.
WTF am I doing?

Comments
  • 2
    Is it a namespace issue?
  • 2
    Did it do not commit the data? Close the database to be sure maybe?
  • 3
    You're accidentally pushing all the data to production
  • 2
    @BordedDev what do you mean by namespace?
  • 2
    @retoor it's an h2 that only exists while testing.
  • 3
    @Hazarth i was actually paranoid for a second that all the drop commands would be executed for real. 😅
  • 0
    @cb219 I think it's called schema in h2, I'm just asking if you're connecting to the same set of collections. Do the users have the same access level? Is it maybe running in memory mode?
  • 1
    @BordedDev it seems like the way it was setup with schemas was somehow wrong. Even as an mvp setup it didn't work, so I had to tinker around a lot. Many possibilities to set up, only a few actually working, despite the suggestions. But it's solved.
  • 1
    @cb219 Awesome news :D
Add Comment