Skip to content

Commit 66c4475

Browse files
committed
fixup! fix(test): update template creator
1 parent 5ffcbdc commit 66c4475

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/cases/helper_cockroachdb.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,13 @@ def load_cockroachdb_specific_schema
3333
end
3434
end
3535

36-
if ENV['COCKROACH_LOAD_FROM_TEMPLATE'].nil? && ENV['COCKROACH_SKIP_LOAD_SCHEMA'].nil?
37-
load_cockroachdb_specific_schema
38-
end
39-
4036
def load_schema
4137
return if ENV['COCKROACH_SKIP_LOAD_SCHEMA']
4238
unless ENV['COCKROACH_LOAD_FROM_TEMPLATE']
4339
print "Loading schema..."
4440
t0 = Time.now
4541
super
42+
load_cockroachdb_specific_schema
4643
puts format(" %.2fs", Time.now - t0)
4744
end
4845

0 commit comments

Comments
 (0)