]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: mark abns_socket as working now
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Nov 2020 17:43:48 +0000 (18:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2020 13:42:15 +0000 (14:42 +0100)
commit501c99588e1530fb3436ec4dac497f3041755e81
tree23331c2d8e3c0e2702523e967c1a434fe8805b82
parenta4380b211f629237e7ccf22d30bb76ad091ad5f3
REGTESTS: mark abns_socket as working now

William noticed that the real issue in the abns test was that it was
failing to rebind some listeners, issues which were addressed in the
previous commits (in some cases, the master would even accept traffic
on the worker's socket which was not properly disabled, causing some
of the strange error messages).

The other issue documented in commit 2ea15a080 was the lack of
reliability when the test was run in parallel. This is caused by the
abns socket which uses a hard-coded address, making all tests in
parallel to step onto each others' toes. Since vtest cannot provide
abns sockets, we're instead concatenating the number of the listening
port that vtest allocated for another frontend to the abns path, which
guarantees to make them unique in the system.

The test works fine in all cases now, even with 100 in parallel.
reg-tests/seamless-reload/abns_socket.vtc