update node for mint 14.x (#10236)

This commit is contained in:
Harshavardhana 2020-08-10 11:25:40 -07:00 committed by GitHub
parent b4b7a18497
commit ce303f5c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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",
)
),

View File

@ -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)