You need to make to whole test async.  see https://github.com/projectkudu/kudu/blob/master/Kudu.FunctionalTests/GitRepositoryManagementTests.cs#L132.