public async Task UpdatesRolloutDefaultConfigAsync()
        {
            await _updateSample.UpdateRolloutDefaultConfigAsync(_fixture.ProjectId, _deploymentId, _configId);

            var rollout      = _getSample.GetRollout(_fixture.ProjectId, _deploymentId);
            var fullConfigId = $"projects/{_fixture.ProjectId}/locations/{_fixture.RegionId}/gameServerDeployments/{_deploymentId}/configs/{_configId}";

            Assert.Equal(fullConfigId, rollout.DefaultGameServerConfig);
        }
Example #2
0
        public async Task InitializeAsync()
        {
            await _createDeploymentSample.CreateDeploymentAsync(
                _fixture.ProjectId, _deploymentId);

            await _createConfigSample.CreateConfigAsync(
                _fixture.ProjectId, _fixture.RegionId, _deploymentId,
                _configId);

            await _updateSample.UpdateRolloutDefaultConfigAsync(_fixture.ProjectId, _deploymentId, _configId);
        }
 public async Task InitializeAsync()
 {
     await _updateSample.UpdateRolloutDefaultConfigAsync(_fixture.ProjectId, _fixture.TestDeploymentId, _fixture.TestConfigId);
 }