def METHOD_NAME(self, orion_db):
    """Test that concurrent writes cannot duplicate unique fields"""
    orion_db.ensure_index("concurrent", "unique", unique=True)
    assert orion_db.count("concurrent", {"unique": 1}) == 0
    with Pool(10) as pool:
        pool.starmap(write, (("unique", 1) for i in range(10)))
    assert orion_db.count("concurrent", {"unique": 1}) == 1