audeering / audbackend

Manage file storage on different backends
https://audeering.github.io/audbackend/
Other
3 stars 0 forks source link

Improve tests on Artifactory backend by open the connection only one time #218

Open hagenw opened 5 months ago

hagenw commented 5 months ago

As shown in https://github.com/audeering/audbackend/pull/215 actions on the Artifactory server are much slower if we authenticate every time we do something on the server. Instead we can authenticate one time, and reuse the returned path object to do all the relevant stuff.

215 adjusts the code of audbackend.backend.Artifactory accordingly, but for the tests we still do a new connection with every instance of the interface fixture. We should change this as well.