mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-03 16:41:26 +01:00
test(fuse): a simulated daemon does not ask the real API for its share id
This commit is contained in:
1 parent
d850265225
commit
3b81cc5240
1 file changed
+3
-1
@@ -680,7 +680,9 @@ pub(crate) fn mount_with(
|
|||||||
// The photos volume has its own event stream; without it the gallery only
|
// The photos volume has its own event stream; without it the gallery only
|
||||||
// learns about a phone-side deletion when the timeline goes stale.
|
// learns about a phone-side deletion when the timeline goes stale.
|
||||||
rt.spawn(run_photos_event_sync(core.clone()));
|
rt.spawn(run_photos_event_sync(core.clone()));
|
||||||
if online {
|
// Not in a simulation: `client` there reaches no API, and the thread, still
|
||||||
|
// waiting on it after the stop, held the database a test opens next.
|
||||||
|
if online && matches!(host, Host::Daemon) {
|
||||||
let repair_core = core.clone();
|
let repair_core = core.clone();
|
||||||
let root_uid = core.primary_root_uid.clone();
|
let root_uid = core.primary_root_uid.clone();
|
||||||
if let Err(error) = std::thread::Builder::new()
|
if let Err(error) = std::thread::Builder::new()
|
||||||
|
|||||||
Reference in new issue
Block a user