Fix error: Tests fail due to changes in MinIO default port (#13108)
Automatic Merge
Этот коммит содержится в:
@@ -385,7 +385,7 @@ func TestS3TestConnection(t *testing.T) {
|
||||
|
||||
s3Port := os.Getenv("CI_MINIO_PORT")
|
||||
if s3Port == "" {
|
||||
s3Port = "9001"
|
||||
s3Port = "9000"
|
||||
}
|
||||
|
||||
s3Endpoint := fmt.Sprintf("%s:%s", s3Host, s3Port)
|
||||
|
||||
@@ -63,7 +63,7 @@ func runBackendTest(t *testing.T, encrypt bool) {
|
||||
|
||||
s3Port := os.Getenv("CI_MINIO_PORT")
|
||||
if s3Port == "" {
|
||||
s3Port = "9001"
|
||||
s3Port = "9000"
|
||||
}
|
||||
|
||||
s3Endpoint := fmt.Sprintf("%s:%s", s3Host, s3Port)
|
||||
|
||||
@@ -459,8 +459,8 @@ func TestAutolinking(t *testing.T) {
|
||||
ExpectedHTML: `<p><a href="ftp://example.com">ftp://example.com</a></p>`,
|
||||
},
|
||||
// "valid-link-4": {
|
||||
// Markdown: `ts3server://example.com?port=9001`,
|
||||
// ExpectedHTML: `<p><a href="ts3server://example.com?port=9001">ts3server://example.com?port=9001</a></p>`,
|
||||
// Markdown: `ts3server://example.com?port=9000`,
|
||||
// ExpectedHTML: `<p><a href="ts3server://example.com?port=9000">ts3server://example.com?port=9000</a></p>`,
|
||||
// },
|
||||
"valid-link-5": {
|
||||
Markdown: `www.example.com`,
|
||||
|
||||
Ссылка в новой задаче
Block a user