async fn wait_for_registration(
atlas: &mut AtlasClient,
before: &ProviderRegistrationSnapshot,
expected_provider_id: &str,
pkg_label: &str,
component: &str,
log_dir: &Path,
child: &mut Child,
) -> Result<RegistrationOutcome>