@@ -253,6 +253,11 @@ func TestPutLocalFile(t *testing.T) {
253
253
}
254
254
255
255
func TestPutGetWithAutoCompressFalse (t * testing.T ) {
256
+ level := logger .GetLogLevel ()
257
+ _ = logger .SetLogLevel ("debug" )
258
+ defer func () {
259
+ _ = logger .SetLogLevel (level )
260
+ }()
256
261
tmpDir := t .TempDir ()
257
262
testData := filepath .Join (tmpDir , "data.txt" )
258
263
f , err := os .Create (testData )
@@ -267,14 +272,17 @@ func TestPutGetWithAutoCompressFalse(t *testing.T) {
267
272
assertNilF (t , f .Close ())
268
273
}()
269
274
275
+ fmt .Printf ("Starting TestPutGetWithAutoCompressFalse at %v\n " , time .Now ())
270
276
runDBTest (t , func (dbt * DBTest ) {
271
277
stageDir := "test_put_uncompress_file_" + randomString (10 )
272
278
dbt .mustExec ("rm @~/" + stageDir )
273
279
274
280
// PUT test
281
+ fmt .Printf ("Running PUT at %v\n " , time .Now ())
275
282
sqlText := fmt .Sprintf ("put 'file://%v' @~/%v auto_compress=FALSE" , testData , stageDir )
276
283
sqlText = strings .ReplaceAll (sqlText , "\\ " , "\\ \\ " )
277
284
dbt .mustExec (sqlText )
285
+ fmt .Printf ("Finished PUT at %v\n " , time .Now ())
278
286
defer dbt .mustExec ("rm @~/" + stageDir )
279
287
rows := dbt .mustQuery ("ls @~/" + stageDir )
280
288
defer func () {
@@ -327,6 +335,7 @@ func TestPutGetWithAutoCompressFalse(t *testing.T) {
327
335
}
328
336
329
337
func TestPutOverwrite (t * testing.T ) {
338
+ fmt .Printf ("Starting TestPutOverwrite at %v\n " , time .Now ())
330
339
tmpDir := t .TempDir ()
331
340
testData := filepath .Join (tmpDir , "data.txt" )
332
341
f , err := os .Create (testData )
0 commit comments