Skip to content

Commit

Permalink
cloudv2: Renabel the feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
codebien committed Jun 20, 2023
1 parent 4a62131 commit 629d0fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
7 changes: 1 addition & 6 deletions cloudapi/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ type Config struct {
TestRunDetails null.String `json:"testRunDetails" envconfig:"K6_CLOUD_TEST_RUN_DETAILS"`
NoCompress null.Bool `json:"noCompress" envconfig:"K6_CLOUD_NO_COMPRESS"`
StopOnError null.Bool `json:"stopOnError" envconfig:"K6_CLOUD_STOP_ON_ERROR"`

// TODO: Renable the cloud output versioning
// https://github.com/grafana/k6/issues/3117
//
// APIVersion null.Int `json:"apiVersion" envconfig:"K6_CLOUD_API_VERSION"`
APIVersion null.Int `json:"-"`
APIVersion null.Int `json:"apiVersion" envconfig:"K6_CLOUD_API_VERSION"`

// TODO: rename the config field to align to the new logic by time series
// when the migration from the version 1 is completed.
Expand Down
4 changes: 0 additions & 4 deletions output/cloud/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ func TestOutputCreateTestWithConfigOverwrite(t *testing.T) {
}

func TestOutputStartVersionError(t *testing.T) {
t.Skip("We disabled the Versioning to prevent mistakes and not be forced to " +
"maintain an experimental API in the future. " +
"We will re-enable it after the v0.45.0 release.")

t.Parallel()
o, err := newOutput(output.Params{
Logger: testutils.NewLogger(t),
Expand Down

0 comments on commit 629d0fd

Please sign in to comment.