github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/clusterversion/testutils.go (about)

     1  // Copyright 2019 The Cockroach Authors.
     2  //
     3  // Use of this software is governed by the Business Source License
     4  // included in the file licenses/BSL.txt.
     5  //
     6  // As of the Change Date specified in that file, in accordance with
     7  // the Business Source License, use of this software will be governed
     8  // by the Apache License, Version 2.0, included in the file
     9  // licenses/APL.txt.
    10  
    11  package clusterversion
    12  
    13  // TestingBinaryVersion is a binary version that tests can use when they don't
    14  // want to go through a Settings object.
    15  var TestingBinaryVersion = binaryVersion
    16  
    17  // TestingBinaryMinSupportedVersion is a minimum supported version that
    18  // tests can use when they don't want to go through a Settings object.
    19  var TestingBinaryMinSupportedVersion = binaryMinSupportedVersion
    20  
    21  // TestingClusterVersion is a ClusterVersion that tests can use when they don't
    22  // want to go through a Settings object.
    23  var TestingClusterVersion = ClusterVersion{
    24  	Version: TestingBinaryVersion,
    25  }