Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ ETAGS
CTAGS

tools/http_load/http_load
tools/jtest/jtest
tools/trafficserver.pc
tools/escape_mapper/escape_mapper

Expand Down
13 changes: 0 additions & 13 deletions src/iocore/cache/CacheVC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ DbgCtl dbg_ctl_cache_reenable{"cache_reenable"};
#define SCAN_WRITER_LOCK_MAX_RETRY 5
#define STORE_COLLISION 1
#define USELESS_REENABLES // allow them for now
// #define VERIFY_JTEST_DATA

extern int64_t cache_config_ram_cache_cutoff;

Expand Down Expand Up @@ -380,18 +379,6 @@ CacheVC::handleReadDone(int event, Event *e)
goto Ldone;
}

#ifdef VERIFY_JTEST_DATA
char xx[500];
if (read_key && *read_key == doc->key && request.valid() && !dir_head(&dir) && !vio.ndone) {
int ib = 0, xd = 0;
request.url_get()->print(xx, 500, &ib, &xd);
char *x = xx;
for (int q = 0; q < 3; q++)
x = strchr(x + 1, '/');
ink_assert(!memcmp(doc->data(), x, ib - (x - xx)));
}
#endif

if (dbg_ctl_cache_read.on()) {
char xt[CRYPTO_HEX_SIZE];
Dbg(dbg_ctl_cache_read,
Expand Down
11 changes: 0 additions & 11 deletions src/iocore/cache/CacheWrite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -745,17 +745,6 @@ Stripe::_agg_copy(CacheVC *vc)
} else {
iobufferblock_memcpy(doc->data(), vc->write_len, vc->blocks.get(), vc->offset);
}
#ifdef VERIFY_JTEST_DATA
if (f.use_first_key && header_len) {
int ib = 0, xd = 0;
char xx[500];
new_info.request_get().url_get().print(xx, 500, &ib, &xd);
char *x = xx;
for (int q = 0; q < 3; q++)
x = strchr(x + 1, '/');
ink_assert(!memcmp(doc->hdr(), x, ib - (x - xx)));
}
#endif
}
if (cache_config_enable_checksum) {
doc->checksum = 0;
Expand Down
8 changes: 0 additions & 8 deletions src/proxy/http/HttpSM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7555,14 +7555,6 @@ HttpSM::update_stats()
}
}

if (is_action_tag_set("assert_jtest_length")) {
if (t_state.hdr_info.client_response.valid() && t_state.hdr_info.client_response.status_get() == HTTP_STATUS_OK) {
int64_t p_resp_cl = t_state.hdr_info.client_response.get_content_length();
int64_t resp_size = client_response_body_bytes;
ink_release_assert(p_resp_cl == -1 || p_resp_cl == resp_size || resp_size == 0);
}
}

ink_hrtime total_time = milestones.elapsed(TS_MILESTONE_SM_START, TS_MILESTONE_SM_FINISH);

// ua_close will not be assigned properly in some exceptional situation.
Expand Down
1 change: 0 additions & 1 deletion tools/check-unused-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def get_dependencies(program):

# clang+asan pulls in dependencies for these specific tools:
if any(map(progbase.__eq__, [
'jtest',
'http_load',
'escape_mapper',
])):
Expand Down
78 changes: 0 additions & 78 deletions tools/jtest/README

This file was deleted.

Loading