@Test
    public void require_that_resources_can_be_partially_specified() {
        String services = joinLines("<?xml version='1.0' encoding='utf-8' ?>",
                                    "<services>",
                                    "  <content version='1.0' id='test'>",
                                    "     <redundancy>2</redundancy>" +
                                    "     <documents>",
                                    "       <document type='type1' mode='index'/>",
                                    "     </documents>",
                                    "     <nodes count='2'>",
                                    "       <resources vcpu='1'/>",
                                    "     </nodes>",
                                    "  </content>",
                                    "</services>");

        VespaModelTester tester = new VespaModelTester();
        tester.addHosts(new NodeResources(1, 3, 10, 5), 5);
        VespaModel model = tester.createModel(Zone.defaultZone(), services, true, false, false, new NodeResources(1.0, 3.0, 9.0, 1.0), 0, Optional.empty(), deployStateWithClusterEndpoints("test.indexing"));
        ContentSearchCluster cluster = model.getContentClusters().get("test").getSearch();
        assertEquals(2, cluster.getSearchNodes().size());
    }
Recreate the combination used in some factory tests
config-model/src/test/java/com/yahoo/config/model/provision/ModelProvisioningTest.java