Skip to content

Commit

Permalink
keep the consistent version between IT and E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu committed Dec 23, 2024
1 parent cfb1df7 commit 51f6c92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,8 @@ public class ITVersions {

static Map<String, String> ENV = readingEnv("test", "e2e-v2", "script", "env");

// The prefix of the integration version in the environment file.
static final String INTERGRATION_PREFIX = "INTEGRATION_";

// Get the version from the environment file.
public static String get(String key) {
// trying to find the integration version first
final String integrationVal = ENV.get(INTERGRATION_PREFIX + key);
if (integrationVal != null && integrationVal.length() > 0) {
return integrationVal;
}
// if not found, return the normal version
return ENV.get(key);
}

Expand Down
2 changes: 0 additions & 2 deletions test/e2e-v2/script/env
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

INTEGRATION_SW_BANYANDB_COMMIT=6e99ab7e8fed451d24e4d6041ec4c3db7c44f237

SW_AGENT_JAVA_COMMIT=f0245864e4388a388fe7445b56b6ce7cedc94aaf
SW_AGENT_SATELLITE_COMMIT=ea27a3f4e126a24775fe12e2aa2695bcb23d99c3
SW_AGENT_NGINX_LUA_COMMIT=c3cee4841798a147d83b96a10914d4ac0e11d0aa
Expand Down

0 comments on commit 51f6c92

Please sign in to comment.