File tree Expand file tree Collapse file tree
rust/operator-binary/src/crd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1729,6 +1729,10 @@ where
17291729
17301730#[ cfg( test) ]
17311731mod tests {
1732+ use stackable_operator:: versioned:: test_utils:: RoundtripTestData ;
1733+
1734+ use crate :: crd:: v1alpha1;
1735+
17321736 pub fn deserialize_yaml_str < ' a , T : serde:: de:: Deserialize < ' a > > ( value : & ' a str ) -> T {
17331737 let deserializer = serde_yaml:: Deserializer :: from_str ( value) ;
17341738 serde_yaml:: with:: singleton_map_recursive:: deserialize ( deserializer) . unwrap ( )
@@ -1739,4 +1743,10 @@ mod tests {
17391743 let deserializer = serde_yaml:: Deserializer :: from_reader ( file) ;
17401744 serde_yaml:: with:: singleton_map_recursive:: deserialize ( deserializer) . unwrap ( )
17411745 }
1746+
1747+ impl RoundtripTestData for v1alpha1:: DruidClusterSpec {
1748+ fn roundtrip_test_data ( ) -> Vec < Self > {
1749+ vec ! [ ]
1750+ }
1751+ }
17421752}
You can’t perform that action at this time.
0 commit comments