I've figured it out! I was running my end-to-end tests in a class which
inherited from TestCase. This cause all the database calls for that entire
class to be run within a transaction, so I couldn't see the changes because
the transaction was never allowed to finish. By switching the base class
I am attempting to write end-to-end tests for my system. To do this I am
running one container called "workers" as it would normally be run during
development, i.e. not via a test runner. I have another container called
"foreman" that is run via a test runner which sets up the tests, sends work
2 matches
Mail list logo