Commit 2c59847
authored
test: Improve FileManager PathTooLong assert (#6510)
Previously, the test verified the number of logged messages, causing
fragile failures if unrelated logs were added. Now it asserts the
presence of the specific fatal log message, ensuring stability even when
additional logs are introduced.1 parent 6b01cf3 commit 2c59847
File tree
2 files changed
+10
-3
lines changed- Tests/SentryTests
- Helper
- Integrations/WatchdogTerminations
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1082 | 1082 | | |
1083 | 1083 | | |
1084 | 1084 | | |
| 1085 | + | |
1085 | 1086 | | |
1086 | 1087 | | |
| 1088 | + | |
1087 | 1089 | | |
1088 | 1090 | | |
1089 | 1091 | | |
1090 | 1092 | | |
1091 | | - | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1092 | 1098 | | |
1093 | 1099 | | |
1094 | 1100 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | | - | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments