'Test simple update replace.
Test update replace with no conflict in batch size and minimum
instances in service.'

def test_instance_group_update_replace(self):

    updt_template = self.ig_tmpl_with_updt_policy()
    grp = updt_template['Resources']['JobServerGroup']
    policy = grp['UpdatePolicy']['AutoScalingRollingUpdate']
    policy['MinInstancesInService'] = '1'
    policy['MaxBatchSize'] = '3'
    config = updt_template['Resources']['JobServerConfig']
    config['Properties']['UserData'] = 'new    data'
    self.update_instance_group(updt_template, num_updates_expected_on_updt=10, num_creates_expected_on_updt=0, num_deletes_expected_on_updt=0)
