public async Task <bool> Until(string id) { await WaitStrategy.WaitUntil(() => { return(WaitUntilContainerIsCreated.Until(id)); }); await Task.WhenAll(this.commands.Select(command => TestcontainersClient.Instance.ExecAsync(id, command))); return(true); }
public async Task <bool> Until(string id) { await WaitStrategy.WaitUntil(() => { return(WaitUntilContainerIsCreated.Until(id)); }); return(File.Exists(this.file)); }