Skip to content

Commit

Permalink
Merge pull request cockroachdb#14728 from cockroachdb/revert-14668-alloc
Browse files Browse the repository at this point in the history
Revert "acceptance: set distsql for schema validation in allocator tests"
  • Loading branch information
vivekmenezes authored Apr 10, 2017
2 parents 2517981 + e6c4986 commit 32fb47c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/acceptance/allocator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,6 @@ func (at *allocatorTest) ValidateSchemaChanges(ctx context.Context, t *testing.T
if err := db.QueryRow("SELECT cluster_logical_timestamp()").Scan(&now); err != nil {
t.Fatal(err)
}

// Set distsql for these queries because it's still not the default.
if _, err := db.Exec(`SET DISTSQL = on`); err != nil {
t.Fatal(err)
}

var eCount int64
q := fmt.Sprintf(`SELECT COUNT(*) FROM %s AS OF SYSTEM TIME %s`, tableName, now)
if err := db.QueryRow(q).Scan(&eCount); err != nil {
Expand Down

0 comments on commit 32fb47c

Please sign in to comment.