set_up_atomic_state
ret = set_up_atomic_state(test, priv, old_conn, &ctx);
ret = set_up_atomic_state(test, priv, NULL, &ctx);