mirror of https://github.com/minio/minio.git
update node for mint 14.x (#10236)
This commit is contained in:
parent
b4b7a18497
commit
ce303f5c7e
|
@ -19,7 +19,7 @@ export APT="apt --quiet --yes"
|
|||
export WGET="wget --quiet --no-check-certificate"
|
||||
|
||||
# install nodejs source list
|
||||
if ! $WGET --output-document=- https://deb.nodesource.com/setup_13.x | bash -; then
|
||||
if ! $WGET --output-document=- https://deb.nodesource.com/setup_14.x | bash -; then
|
||||
echo "unable to set nodejs repository"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -20,7 +20,7 @@ import os
|
|||
|
||||
from minio import Minio
|
||||
from minio.select.options import (CSVInput, CSVOutput, InputSerialization,
|
||||
JsonOutput, OutputSerialization,
|
||||
JSONOutput, OutputSerialization,
|
||||
RequestProgress, SelectObjectOptions)
|
||||
|
||||
from utils import *
|
||||
|
@ -107,7 +107,7 @@ def test_csv_input_custom_quote_char(client, log_output):
|
|||
AllowQuotedRecordDelimiter="FALSE",),
|
||||
),
|
||||
output_serialization=OutputSerialization(
|
||||
json=JsonOutput(
|
||||
json=JSONOutput(
|
||||
RecordDelimiter="\n",
|
||||
)
|
||||
),
|
||||
|
|
|
@ -19,7 +19,7 @@ import io
|
|||
from datetime import datetime
|
||||
|
||||
from minio.select.options import (CSVInput, CSVOutput, InputSerialization,
|
||||
JSONInput, OutputSerialization,
|
||||
JSONInput, JSONOutput, OutputSerialization,
|
||||
RequestProgress, SelectObjectOptions)
|
||||
|
||||
from utils import generate_bucket_name, generate_object_name
|
||||
|
@ -394,7 +394,7 @@ def test_sql_select_json(client, log_output):
|
|||
]
|
||||
|
||||
input_serialization = InputSerialization(json=JSONInput(Type="DOCUMENT"))
|
||||
output_serialization = OutputSerialization(json=JsonOutput())
|
||||
output_serialization = OutputSerialization(json=JSONOutput())
|
||||
try:
|
||||
test_sql_expressions_custom_input_output(client, json_testcontent,
|
||||
input_serialization, output_serialization, tests, log_output)
|
||||
|
|
Loading…
Reference in New Issue