test(auction): add two-node Docker failure integration suite
Exercise Nginx routing, Mongo transaction ordering, history backfills, Undo, Pub/Sub TCP loss, safety polling, resync, and reconnection. Keep fixtures and results isolated from production and git.
This commit is contained in:
1 parent
23a0a3f8dd
commit
8d741ef9a7
9 files changed
+1024
No files matched your search
@@ -0,0 +1,18 @@
|
||||
events {}
|
||||
http {
|
||||
upstream auction {
|
||||
server api-a:3000;
|
||||
server api-b:3000;
|
||||
}
|
||||
server {
|
||||
listen 8080;
|
||||
location / {
|
||||
proxy_pass http://auction;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_read_timeout 120s;
|
||||
add_header X-Cluster-Upstream $upstream_addr always;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user