Skip to content

Commit 9151870

Browse files
authored
upgrade the tests in mint repo (#399)
1 parent befedef commit 9151870

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3246
-11081
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22

33
ENV DEBIAN_FRONTEND noninteractive
44
ENV LANG C.UTF-8

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
Mint is a testing framework for Minio object server, available as a podman image. It runs correctness, benchmarking and stress tests. Following are the SDKs/tools used in correctness tests.
44

55
- awscli
6-
- aws-sdk-go
7-
- aws-sdk-java
6+
- aws-sdk-go-v2
87
- aws-sdk-java-v2
98
- aws-sdk-php
109
- aws-sdk-ruby

build/.minio-dotnet/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ git clone --quiet https://github.com/minio/minio-dotnet.git "${temp_dir}"
3535
pushd "${temp_dir}" >/dev/null
3636
git checkout --quiet "tags/${MINIO_DOTNET_SDK_VERSION}"
3737

38-
dotnet publish Minio.Functional.Tests --configuration Mint --framework net6.0 --output ../out
38+
dotnet publish Minio.Functional.Tests --configuration Mint --framework net8.0 --output ../out
3939

4040
popd >/dev/null
4141
rm -fr "${temp_dir}"

build/aws-sdk-go/install.sh renamed to build/aws-sdk-go-v2/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22
#
3-
# Mint (C) 2017 Minio, Inc.
3+
# Mint (C) 2017-2025 Minio, Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -15,5 +15,5 @@
1515
# limitations under the License.
1616
#
1717

18-
test_run_dir="$MINT_RUN_CORE_DIR/aws-sdk-go"
18+
test_run_dir="$MINT_RUN_CORE_DIR/aws-sdk-go-v2"
1919
(cd "$test_run_dir" && CGO_ENABLED=0 go build --ldflags "-s -w")

build/aws-sdk-java-v2/app/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
99
plugins {
1010
// Apply the application plugin to add support for building a CLI application in Java.
1111
application
12-
id("com.github.johnrengelman.shadow") version "8.1.1"
12+
id("com.gradleup.shadow") version "9.2.2"
1313
}
1414

1515
repositories {
@@ -19,13 +19,13 @@ repositories {
1919

2020
dependencies {
2121
// AWS SDK dependencies
22-
implementation(platform("software.amazon.awssdk:bom:2.25.31"))
22+
implementation(platform("software.amazon.awssdk:bom:2.38.1"))
2323
implementation("software.amazon.awssdk:s3")
2424
implementation("software.amazon.awssdk:netty-nio-client")
2525
implementation("software.amazon.awssdk:aws-crt-client")
2626

2727
// jackson dependency
28-
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.+")
28+
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.20.0")
2929
}
3030

3131
tasks.withType<ShadowJar> {
@@ -35,7 +35,7 @@ tasks.withType<ShadowJar> {
3535
// Apply a specific Java toolchain to ease working on different environments.
3636
java {
3737
toolchain {
38-
languageVersion.set(JavaLanguageVersion.of(11))
38+
languageVersion.set(JavaLanguageVersion.of(21))
3939
}
4040
}
4141

build/aws-sdk-java/build.xml

Lines changed: 0 additions & 58 deletions
This file was deleted.

build/aws-sdk-java/install.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

build/aws-sdk-java/ivy.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)