Thread
#prefect-contributors
    a

    Alex Cano

    2 years ago
    Does anyone have any thoughts on adding some integration tests between server & core? Currently Jim has an issue opened as of a couple days ago thinking about the same for Cloud (https://github.com/PrefectHQ/prefect/issues/2792). The reason I’m asking is I’m currently going through the process of testing the flow concurrency feature (https://github.com/PrefectHQ/prefect/pull/2382), and can’t think of a good place to implement tests that actually have flows running and communicating with Server. I’m sure there would be some considerations of wanting the same integration tests to be both cloud and server compatible, then allow for server specific tests as well as cloud specific tests.
    Laura Lorenz (she/her)

    Laura Lorenz (she/her)

    2 years ago
    Yeah from Jim’s comment the implication is that cloud integration tests run against a hosted version of cloud outside of CI. So I think what we would want to figure out is the test harness for testing against server. For example I could imagine us running a test friendly version or derivative (maybe inline of a circleCI config.yaml) of
    prefect server start
    in CI that server integration tests run against