Skip to content

Commit 54cc8cf

Browse files
committed
test: Add placeholder values to satify roundtrip tests
1 parent 519539d commit 54cc8cf

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

  • rust/operator-binary/src/crd

rust/operator-binary/src/crd/mod.rs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,8 +1698,11 @@ pub struct HdfsClusterStatus {
16981698

16991699
#[cfg(test)]
17001700
mod test {
1701-
use stackable_operator::k8s_openapi::{
1702-
api::core::v1::ResourceRequirements, apimachinery::pkg::api::resource::Quantity,
1701+
use stackable_operator::{
1702+
k8s_openapi::{
1703+
api::core::v1::ResourceRequirements, apimachinery::pkg::api::resource::Quantity,
1704+
},
1705+
versioned::test_utils::RoundtripTestData,
17031706
};
17041707

17051708
use super::*;
@@ -2050,4 +2053,10 @@ spec:
20502053
rack_awareness
20512054
);
20522055
}
2056+
2057+
impl RoundtripTestData for v1alpha1::HdfsClusterSpec {
2058+
fn roundtrip_test_data() -> Vec<Self> {
2059+
vec![]
2060+
}
2061+
}
20532062
}

0 commit comments

Comments
 (0)