def createTestRunner(testDir='test_scripts/clusterperf', timeout=None):
    assert os.environ in 'TEST_LOOPER_MULTIBOX_OWN_IP'
    assert 'TEST_LOOPER_MULTIBOX_IP_LIST' in os.environ
    assert 'TEST_LOOPER_TEST_ID' in os.environ
    assert 'TEST_OUTPUT_DIR' in os.environ

    machinesInCluster = sorted(os.getenv('TEST_LOOPER_MULTIBOX_IP_LIST').split(','))
    ownAddress = os.getenv('TEST_LOOPER_MULTIBOX_OWN_IP')
    assert ownAddress in machinesInCluster

    testId = os.getenv('TEST_LOOPER_TEST_ID')

    testRunnerClass = MultiMachineMasterRunner if ownAddress == machinesInCluster[0] \
                      else MultiMachineWorkerRunner
    return testRunnerClass(machinesInCluster, ownAddress, testId, testDir, timeout=timeout)
dataset/ETHPy150Open ufora/ufora/ufora/test/MultiMachineTestRunner.py/createTestRunner/swapped operands of `in`