Skip to content

Commit 0b6af74

Browse files
committed
test/allocsim: comment parssing cout
Signed-off-by: Pere Diaz Bou <[email protected]>
1 parent 9efaa18 commit 0b6af74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/objectstore/allocsim/ops_replayer.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ int main(int argc, char** argv) {
108108
// we expect this input:
109109
// 2024-05-10 12:06:24.990831+00:00 client.607247697.0:5632274 write 4096~4096 2:d03a455a:::08b0f2fd5f20f504e76c2dd3d24683a1:head 2.1c0b
110110
while (fstream >> date){
111-
cout << date << endl;
111+
// cout << date << endl;
112112
tm t;
113113
char* res = strptime(date.c_str(), date_format_first_column, &t);
114114
if (res == nullptr) {
@@ -118,13 +118,13 @@ int main(int argc, char** argv) {
118118
fstream >> time >> who >> type >> range >> object >> collection;
119119

120120
date += " " + time;
121-
cout << date << endl;
121+
// cout << date << endl;
122122
// FIXME: this is wrong but it returns a reasonable bad timestamp :P
123123
const char* date_format_full = "%Y-%m-%d %H:%M:%S.%f%z";
124124
res = strptime(date.c_str(), date_format_full, &t);
125125
time_t at = mktime(&t);
126126

127-
cout << fmt::format("{} {} {} {} {} {} {}", date, at, who, type, range, object, collection) << endl;
127+
// cout << fmt::format("{} {} {} {} {} {} {}", date, at, who, type, range, object, collection) << endl;
128128

129129
shared_ptr<string> who_ptr = make_shared<string>(who);
130130
auto who_it = string_cache.find(who);

0 commit comments

Comments
 (0)