Commit 383f70d
authored
When correcting yamsql metrics, only update queries with differences (#3563)
Without this change, if you add a new query and run the test with
CORRECT_METRICS, it will update all the timings for all of the other
queries. This is less important for the binp, but can make it hard to
look at the metrics yaml diff, as there will be many lines to ignore.
With this change, it will keep the original info for every query that
did not result in a diffence.
Here I have a demo of how this looks with this change:
ScottDugas@b32570a
And here is how it looks if I run it without this change:
ScottDugas@8f0778f1 parent 27846c0 commit 383f70d
File tree
1 file changed
+3
-1
lines changed- yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/command/queryconfigs
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | 192 | | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
| |||
0 commit comments