Commit 2a70fbe
committed
roachtest/import: refactor existing roachtests for import
Previously, the roachtests for import were distressingly absent solid
verification of the imported data. This patch changes those tests to use
the newly revamed SHOW FINGERPRINTS to validate the imported data. Along
the way, we attempt to standardize and rationalize the test design so
that it's more easily extensible.
As part of this work, we're moving away from using TPC-C data even though
it most closely resembles OLTP workloads because it's much easier to
validate the import of the static TPC-H data files. We keep the TPC-C
benchmark because that's potentially interesting, but it's a separate
thing for now.
We also now standardize how we deal with local clusters by picking a
scale factor during data set initialization. Local uses scale factor 1
and our four node tests use scale factor 100. The data set initializer
has access to the cluster configuration, so we can select even larger
scale factors for larger clusters in the future, if desired.
Informs: cockroachdb#156816
Release note: None1 parent c484d09 commit 2a70fbe
File tree
4 files changed
+484
-234
lines changed- pkg/cmd/roachtest/tests
4 files changed
+484
-234
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
0 commit comments