@Test
    public void test_autoscaling_containers_with_some_local_traffic() {
        var fixture = DynamicProvisioningTester.fixture().clusterType(ClusterSpec.Type.container).awsProdSetup(true).build();

        // Some local traffic
        fixture.tester().clock().advance(Duration.ofDays(2));
        fixture.store(new BcpGroupInfo(200, 1.9, 0.01));
        Duration duration1 = fixture.loader().addCpuMeasurements(0.58f, 10);
        fixture.tester().clock().advance(duration1.negated());
        fixture.loader().addQueryRateMeasurements(10, __ -> 10.0);
        fixture.tester().assertResources("Not scaling down due to group info, even though it contains much evidence queries are cheap",
                                         3, 1, 4.0, 16.0, 40.8,
                                         fixture.autoscale());
    }
Tests with varying BCP group info parameters for containers.
Differences from content
- No host sharing.
- Memory and disk is independent of cluster size.
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingUsingBcpGroupInfoTest.java