Allow force restarting of file shares regardless of timestamp. #530

Merged
sarah merged 9 commits from stable-blockers into master 2023-08-31 18:51:41 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 75a3c14285 - Show all commits

View File

@ -33,12 +33,13 @@ func TestContactRetryQueue(t *testing.T) {
// This is the worst part of this test setup. Ideally we would sleep, or some other yielding, but
// go test scheduling doesn't like that and even sleeping long periods won't cause the event thread to make
// progress...
for {
setup := false;
for !setup {
if pinf, exists := cr.connections.Load(testOnion); exists {
if pinf.(*contact).queued {
if _, exists := cr.authorizedPeers.Load(testOnion); exists {
t.Logf("authorized")
break
setup = true;
}
}
}