Skip to content

Commit a74f0b1

Browse files
committed
graph/db: expand test comment with build tag info
1 parent af380c9 commit a74f0b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

graph/db/benchmark_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,13 @@ func TestPopulateDBs(t *testing.T) {
435435
// NOTE: the testPostgres variable can be set to true to test with a
436436
// postgres backend instead of the kvdb-sqlite backend.
437437
//
438+
// NOTE: you will need to set the following build tags in order to run this
439+
// test:
440+
//
441+
// test_native_sql
442+
// kvdb_sqlite // If your source is kvdb-sqlite
443+
// kvdb_postgres // If your source is kvdb-postgres
444+
//
438445
// NOTE: this is a helper test and is not run by default.
439446
func TestPopulateViaMigration(t *testing.T) {
440447
// ======= STEP 0 ===========

0 commit comments

Comments
 (0)