Skip to content
Open
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
5 changes: 4 additions & 1 deletion upstream_sticky_learn.t
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ for (1 .. 5) {
many('/server_mismatch_timeout/swap', 4, cookie => 'sid=value2');
}

TODO: {
local $TODO = 'not yet' unless $t->has_version('1.29.6');

# after timeout, requests are not initially sticky until balanced to 2nd peer

isnt(many('/server', 4, cookie => 'sid=value2'), "$p2: 4",
Expand All @@ -304,7 +307,7 @@ like(many('/server_mismatch/swap', 4, cookie => 'sid=value2'), qr/($p3|$p4): 4/,
many('/server_mismatch_timeout/long', 1, cookie => 'sid=value2');
unlike(many('/server_mismatch_timeout/swap', 4, cookie => 'sid=value2'),
qr/($p1|$p2): /, 'sticky timeout sticky mismatch timeout');

}

# case sensitive tests

Expand Down