DemocracyLab / CivicTechExchange

https://www.democracylab.org
MIT License
97 stars 64 forks source link

Five test cases failed in python unit tests #1078

Open hyihua opened 11 months ago

hyihua commented 11 months ago

Situation: When @qchiujunhao and I are working on #1055 , one runner log shows that there exists errors in 5 test cases which leaded to the failure of the job.

Target: Correct the test cases to pass the tests.

hyihua commented 10 months ago

After reviewing the codebase and the runner log, the issue should be related to the following code line.

8df3bd194ba2117e99d6c57fe951199

I think the question now is to figure out the initial value set for expect_succeeded (10 or 5).

qchiujunhao commented 9 months ago

The likely cause of the error can be narrowed down to the function make_many_requests in the file civictechprojects/tests/test_view.py, possibly in relation to the throttling mechanism.

ddfridley commented 6 months ago

@hyihua Hi, I'm helping with development focus for DemocarcyLab. We've created a DemocracyLab Dashboard and would like to update the status of this issue.

Thanks.