public async Task InitializeAsync() { await _createDeploymentSample.CreateDeploymentAsync( _fixture.ProjectId, _deploymentId); await _createConfigSample.CreateConfigAsync( _fixture.ProjectId, _fixture.RegionId, _deploymentId, _configId); }
public async Task CreatesDeploymentAsync() { var result = await _createSample.CreateDeploymentAsync( _fixture.ProjectId, _deploymentId); Assert.Equal(_fixture.ProjectId, result.GameServerDeploymentName.ProjectId); Assert.Equal("global", result.GameServerDeploymentName.LocationId); Assert.Equal(_deploymentId, result.GameServerDeploymentName.DeploymentId); }
public async Task InitializeAsync() { await _createDeploymentSample.CreateDeploymentAsync( _fixture.ProjectId, _deploymentId); await _createConfigSample.CreateConfigAsync( _fixture.ProjectId, _fixture.RegionId, _deploymentId, _configId); await _updateAddOverrideSample.UpdateRolloutOverrideConfigAsync(_fixture.ProjectId, _deploymentId, _configId, _fixture.RegionId, _fixture.TestRealmId); }
public async Task InitializeAsync() { TestRealmId = $"{RealmIdPrefix}-{RandomId()}"; RealmIds.Add(TestRealmId); TestRealm = await _createRealmSample.CreateRealmAsync(ProjectId, RegionId, TestRealmId); TestDeploymentId = $"{DeploymentIdPrefix}-{RandomId()}"; DeploymentIds.Add(TestDeploymentId); TestDeployment = await _createDeploymentSample.CreateDeploymentAsync(ProjectId, TestDeploymentId); TestClusterId = $"{ClusterIdPrefix}-{RandomId()}"; ClusterIdentifiers.Add(new ClusterIdentifier(TestRealmId, TestClusterId)); TestCluster = await _createClusterSample.CreateClusterAsync(ProjectId, RegionId, TestRealmId, TestClusterId, GkeClusterName); TestConfigId = $"{ConfigIdPrefix}-{RandomId()}"; ConfigIdentifiers.Add(new ConfigIdentifier(TestDeploymentId, TestConfigId)); TestConfig = await _createConfigSample.CreateConfigAsync(ProjectId, RegionId, TestDeploymentId, TestConfigId); }
public async Task InitializeAsync() { await _createSample.CreateDeploymentAsync( _fixture.ProjectId, _deploymentId); }