remove log check
@@ -1042,12 +1042,8 @@ async fn create_device_plugin_resource_pod(
resource_manager: &mut TestResourceManager,
) -> anyhow::Result<()> {
use k8s_openapi::apimachinery::pkg::api::resource::Quantity;
- let containers = vec![
- WasmerciserContainerSpec::named("device-plugin-test").with_args(&[
- "write(lit:watermelon)to(stm:stdout)",
- "assert_exists(env:DEVICE_PLUGIN_VAR)",
- ]),
- ];
+ let containers = vec![WasmerciserContainerSpec::named("device-plugin-test")
+ .with_args(&["assert_exists(env:DEVICE_PLUGIN_VAR)"])];
let mut requests = std::collections::BTreeMap::new();
requests.insert(RESOURCE_NAME.to_string(), Quantity("1".to_string()));
@@ -1081,13 +1077,6 @@ async fn test_pod_with_device_plugin_resource() -> anyhow::Result<()> {
// Create a Pod that requests the DP's resource
create_device_plugin_resource_pod(client.clone(), &pods, &mut resource_manager).await?;
assert::pod_exited_successfully(&pods, DEVICE_PLUGIN_RESOURCE_POD).await?;
- assert::pod_container_log_contains(
- &pods,
- DEVICE_PLUGIN_RESOURCE_POD,
- "device-plugin-test",
- r#"watermelon"#,
- )
- .await?;
Ok(())
}
