diff --git a/kube-client/src/discovery/apigroup.rs b/kube-client/src/discovery/apigroup.rs index c2f014c85..3f1b75264 100644 --- a/kube-client/src/discovery/apigroup.rs +++ b/kube-client/src/discovery/apigroup.rs @@ -243,7 +243,7 @@ impl ApiGroup { self.versioned_resources(ver) } - /// Returns all (including the lost in the lower group version) resources having the most stable version. + /// Returns all resources in the group at their the most stable respective version /// /// ```no_run /// use kube::{Client, api::{Api, DynamicObject}, discovery::{self, verbs}, ResourceExt}; diff --git a/kube/src/lib.rs b/kube/src/lib.rs index d3fc8615e..ca9298949 100644 --- a/kube/src/lib.rs +++ b/kube/src/lib.rs @@ -435,7 +435,7 @@ mod test { } #[tokio::test] - #[ignore] // needs cluster (fetches api resources, and lists all) + // #[ignore] // needs cluster (fetches api resources, and lists all) #[cfg(all(feature = "derive"))] async fn derived_resources_by_stability_discoverable() -> Result<(), Box> { use crate::{ @@ -500,8 +500,8 @@ mod test { // run (almost) full discovery let discovery = Discovery::new(client.clone()) - // skip something in discovery (clux.dev crd being mutated in other tests) - .exclude(&["rbac.authorization.k8s.io", "clux.dev"]) + // only include kube.rs in discovery + .filter(&["kube.rs"]) .run() .await?;