mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Adjust test
This commit is contained in:
parent
378195a6d8
commit
a2753a46c6
@ -50,7 +50,7 @@ After database reattachement the table is still absent (it was detached permamen
|
||||
And we can not detach it permanently
|
||||
But we can attach it back
|
||||
And detach permanently again to check how database drop will behave
|
||||
DROP database - Directory not empty error, but database deteched
|
||||
DROP database - Directory not empty error, but database detached
|
||||
DROP database - now success
|
||||
-----------------------
|
||||
database lazy tests
|
||||
|
@ -128,8 +128,8 @@ ATTACH TABLE test1601_detach_permanently_ordinary.test_name_reuse;
|
||||
SELECT 'And detach permanently again to check how database drop will behave';
|
||||
DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;
|
||||
|
||||
SELECT 'DROP database - Directory not empty error, but database deteched';
|
||||
DROP DATABASE test1601_detach_permanently_ordinary; -- { serverError 1000 }
|
||||
SELECT 'DROP database - Directory not empty error, but database detached';
|
||||
DROP DATABASE test1601_detach_permanently_ordinary; -- { serverError 1001 }
|
||||
|
||||
ATTACH DATABASE test1601_detach_permanently_ordinary;
|
||||
|
||||
@ -203,7 +203,7 @@ SELECT 'And detach permanently again to check how database drop will behave';
|
||||
DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;
|
||||
|
||||
SELECT 'DROP database - Directory not empty error, but database deteched';
|
||||
DROP DATABASE test1601_detach_permanently_lazy; -- { serverError 1000 }
|
||||
DROP DATABASE test1601_detach_permanently_lazy; -- { serverError 1001 }
|
||||
|
||||
ATTACH DATABASE test1601_detach_permanently_lazy;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user