old_contents: import pytest
  from pnc import utils
  from pnc.swagger_client.apis.buildconfigurations_api import BuildconfigurationsApi
  from pnc.swagger_client.apis.runningbuildrecords_api import RunningbuildrecordsApi
  
  configs_api = BuildconfigurationsApi(utils.get_api_client())
  running_api = RunningbuildrecordsApi(utils.get_api_client())
  
  def test_get_all():
      # start a build so that a build is running
      configs_api.trigger(id=1)
      running_builds = running_api.get_all().content
      assert running_builds is not None
  
  def test_get_specific():
      build = configs_api.trigger(id=1).content
      running_build = running_api.get_specific(id=build.id)
      assert running_build is not None
  
  
new_contents: import pytest
  import time
  from pnc import utils
  from pnc.swagger_client.apis.buildconfigurations_api import BuildconfigurationsApi
  from pnc.swagger_client.apis.runningbuildrecords_api import RunningbuildrecordsApi
  
  configs_api = BuildconfigurationsApi(utils.get_api_client())
  running_api = RunningbuildrecordsApi(utils.get_api_client())
  
  def test_get_all():
      # start a build so that a build is running
      configs_api.trigger(id=1).content
      running_builds = running_api.get_all().content
      time.sleep(5)
      assert running_builds is not None
  
  def test_get_specific():
      build = configs_api.trigger(id=1).content
      running_build = running_api.get_specific(id=build.id)
      time.sleep(5)
      assert running_build is not None
  
  
  
  
subject: make sure we don't encounter the 409 conflict status for same BC running