mitodl / rapid-response-xblock

a django app plug-in for edx-platform
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Fix integration tests after the removal of Old Mongo #142

Closed arslanashraf7 closed 9 months ago

arslanashraf7 commented 1 year ago

Context:

Open edX removed most of the old Mongo and left only enough of its functionality as readable only. The removal was done at https://github.com/openedx/edx-platform/pull/31134.

Our integration tests started to break after the removal of old Mongo, because the tests could access the child components and our tests are mostly breaking because of scope error.

Solution Guide

This is a discussion post that wraps around our problem and some suggestions were provided on this post here to fix some of the issues in our integration tests.

Logs

Here are the logs from the breaking test suit.

Acceptance Criteria

arslanashraf7 commented 9 months ago

@Anas12091101 Should we close since we have merged https://github.com/mitodl/rapid-response-xblock/pull/152?

Anas12091101 commented 9 months ago

@arslanashraf7 yes, this issue is fixed and we can close it.