private async Task BuildPips(BasicFilesystemCache cache, string sessionName, PipDefinition[] pips) { ICacheSession session = await cache.CreateSessionAsync(sessionName).SuccessAsync(); await pips.BuildAsync(session); AssertSuccess(await session.CloseAsync()); }