You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: forks/README.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,9 @@ LOG_LEVEL=debug
22
22
XMTP_ENV=production
23
23
```
24
24
25
+
### Running locally
26
+
Before running this suite locally you _must_ run `yarn gen update:local` to pre-populate the database with inboxes to add and remove from the group. Otherwise add/remove member operations will fail, which will not increase the epoch or trigger forks.
27
+
25
28
### Fork generation through send testing
26
29
27
30
The main approach creates intentional conflicts by running parallel operations on shared groups:
@@ -105,8 +108,9 @@ The fork test can inject network chaos (latency, jitter, packet loss) to simulat
105
108
106
109
**Requirements:**
107
110
- Network chaos requires `--env local`
108
-
- Multinode Docker containers must be running (`./dev/up`)
109
-
- Requires `sudo` access for `tc` and `iptables` commands
111
+
- Multinode Docker containers must be running (`./multinode/up`)
112
+
- Must be run on linux with `tc` and `iptables` commands available. Will not work on MacOS.
113
+
- Requires `sudo` access
110
114
111
115
**Chaos Levels:**
112
116
@@ -145,11 +149,3 @@ chaosLevel: high
145
149
packetLoss: 0-5%
146
150
interval: 10000ms
147
151
```
148
-
149
-
### Log processing features
150
-
151
-
-**Clean slate**: Removes old logs and data before starting
152
-
-**Continuous capture**: Each iteration captures debug logs
153
-
-**ANSI cleaning**: Strips escape codes for analysis
0 commit comments