Why the test api of gds has double the histories? #2153
-
In api.py there are the following lines:
Why do we need to create the history objects for GDS inside the integration tests? From my understanding, the pipeline of GDS and the pipeline for the integration tests are two different pipelines and both contain their history objects. Could someone clarify this point? I notice that I run my integration tests for hours and the ram usage keeps increasing because I was clearing the test histories but the histories indicated in the code above were not cleaned by GDS. P.s.: In my setup, GDS is started separately, am I don't it wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is done because the test api is built on top of the GDS's standard code base. The intention is that those histories get overridden, but that may not be working.... Note: typically one starts the GDS to see the test in the browser (visibilirt) and runs the test API in a terminal to conduct the test. |
Beta Was this translation helpful? Give feedback.
-
Making this an issue to look into. |
Beta Was this translation helpful? Give feedback.
This is done because the test api is built on top of the GDS's standard code base. The intention is that those histories get overridden, but that may not be working....
Note: typically one starts the GDS to see the test in the browser (visibilirt) and runs the test API in a terminal to conduct the test.