title: C# test, How to make delay between my tests?
body: <p>I have some tests that will call some external service. They have a limit on the API calls that I can call in every second so when I run all my tests, the last ones are going to fail because the limit on the API call is reached.</p>
  
  <p>How can I limit number of concurrent tests/ put a delay afterwards/ make those special ones work on 1 thread?</p>
  
  <p>My code is a normal test code using TestFixture like this:</p>
  
  <pre><code>[TestFixture]
  public class WithExternalResource        
  {
      SearchProfilesResponse _searchProfilesResponse;
      [OneTimeSetUp]
      public async Task WithNonExistingProfile()
      {
         _searchProfilesResponse= await WhenSearchIsCalled(GetNonExistingProfile());
      }
  
      [Test]
      public void Then_A_List_Of_Profiles_Will_Be_Returned()
      {
          _searchProfilesResponse.Should().NotBeNull();
      }
  
      [Test]
      public void Then_Returned_List_Will_Be_Empty()
      {
          _searchProfilesResponse.Should().BeEmpty();
      }
  }
  </code></pre>