Skip to content

Commit 7dae9ae

Browse files
author
Hieu Pham
committed
Remove AWS from run_tests.sh
1 parent 9e6aea7 commit 7dae9ae

File tree

2 files changed

+13
-24
lines changed

2 files changed

+13
-24
lines changed

cloud/aws/aws_s3.cc

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,16 @@
44
// A directory maps to an an zero-size object in an S3 bucket
55
// A sst file maps to an object in that S3 bucket.
66
//
7-
#include <aws/core/utils/DateTime.h>
8-
#include <aws/core/utils/memory/stl/AWSString.h>
9-
#include <aws/core/utils/memory/stl/AWSStringStream.h>
10-
#include <aws/core/utils/memory/stl/AWSVector.h>
11-
#include <aws/core/utils/stream/ResponseStream.h>
12-
13-
#include <cstdio>
14-
#include <functional>
15-
#include <map>
16-
#include <memory>
17-
#include <sstream>
18-
#include <string>
19-
20-
#include "env/io_posix.h"
21-
#include "test_util/testharness.h"
227
#ifdef USE_AWS
238
#include <aws/core/Aws.h>
9+
#include <aws/core/utils/DateTime.h>
2410
#include <aws/core/utils/Outcome.h>
2511
#include <aws/core/utils/crypto/CryptoStream.h>
2612
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
13+
#include <aws/core/utils/memory/stl/AWSString.h>
14+
#include <aws/core/utils/memory/stl/AWSStringStream.h>
15+
#include <aws/core/utils/memory/stl/AWSVector.h>
16+
#include <aws/core/utils/stream/ResponseStream.h>
2717
#include <aws/s3/S3Client.h>
2818
#include <aws/s3/S3Errors.h>
2919
#include <aws/s3/model/BucketLocationConstraint.h>
@@ -52,17 +42,25 @@
5242

5343
#include <cassert>
5444
#include <cinttypes>
45+
#include <cstdio>
5546
#include <fstream>
47+
#include <functional>
5648
#include <iostream>
49+
#include <map>
50+
#include <memory>
51+
#include <sstream>
52+
#include <string>
5753

5854
#include "cloud/aws/aws_env.h"
5955
#include "cloud/aws/aws_file.h"
6056
#include "cloud/cloud_storage_provider_impl.h"
6157
#include "cloud/filename.h"
58+
#include "env/io_posix.h"
6259
#include "port/port.h"
6360
#include "rocksdb/cloud/cloud_env_options.h"
6461
#include "rocksdb/cloud/cloud_storage_provider.h"
6562
#include "rocksdb/options.h"
63+
#include "test_util/testharness.h"
6664
#include "util/stderr_logger.h"
6765
#include "util/string_util.h"
6866

run_tests.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ echo "Running with $PARALLEL_JOBS parallel jobs"
5050
echo "Pulling base image..."
5151
docker pull rockset/rocksdb_cloud_runtime:test
5252

53-
# echo "Checking AWS access keys"
54-
# if [[ -z ${AWS_ACCESS_KEY_ID+x} ]]; then
55-
# AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id) || die_error "AWS access key ID not found"
56-
# fi
57-
# if [[ -z ${AWS_SECRET_ACCESS_KEY+x} ]]; then
58-
# AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key) || die_error "AWS secret access key not found"
59-
# fi
60-
# export AWS_ACCESS_KEY_ID
61-
# export AWS_SECRET_ACCESS_KEY
6253
export SRC_ROOT=$(git rev-parse --show-toplevel)
6354

6455
echo "Building tests..."

0 commit comments

Comments
 (0)