Skip to content

Commit 533a1c6

Browse files
author
Hieu Pham
committed
Use a mock S3 client for unit tests
1 parent 3d31986 commit 533a1c6

File tree

7 files changed

+433
-19
lines changed

7 files changed

+433
-19
lines changed

cloud/aws/aws_file.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ inline Aws::String ToAwsString(const std::string& s) {
1212
return Aws::String(s.data(), s.size());
1313
}
1414

15+
inline std::string ToStdString(const Aws::String& s) {
16+
return std::string(s.data(), s.size());
17+
}
18+
1519
} // namespace ROCKSDB_NAMESPACE
1620

1721
#endif /* USE_AWS */

0 commit comments

Comments
 (0)