-
-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop1Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop2Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop3Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop4Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop5Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop6Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop7Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop8Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../t06_publish/PublishDrop9Test_gold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# reuse existing tests: | ||
from t06_publish.drop import PublishDrop1Test, \ | ||
PublishDrop2Test, \ | ||
PublishDrop3Test, \ | ||
PublishDrop4Test, \ | ||
PublishDrop5Test, \ | ||
PublishDrop6Test, \ | ||
PublishDrop7Test, \ | ||
PublishDrop8Test, \ | ||
PublishDrop9Test | ||
|
||
TEST_IGNORE = ["PublishDrop1Test", | ||
"PublishDrop2Test", | ||
"PublishDrop3Test", | ||
"PublishDrop4Test", | ||
"PublishDrop5Test", | ||
"PublishDrop6Test", | ||
"PublishDrop7Test", | ||
"PublishDrop8Test", | ||
"PublishDrop9Test"] | ||
|
||
|
||
class PublishDrop1TestEtcd(PublishDrop1Test): | ||
""" | ||
publish drop: existing snapshot | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" | ||
|
||
|
||
class PublishDrop2TestEtcd(PublishDrop2Test): | ||
""" | ||
publish drop: under prefix | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" | ||
|
||
|
||
class PublishDrop3TestEtcd(PublishDrop3Test): | ||
""" | ||
publish drop: drop one distribution | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" | ||
|
||
|
||
class PublishDrop4TestEtcd(PublishDrop4Test): | ||
""" | ||
publish drop: drop one of components | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" | ||
|
||
|
||
class PublishDrop5TestEtcd(PublishDrop5Test): | ||
""" | ||
publish drop: component cleanup | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" | ||
|
||
|
||
class PublishDrop6TestEtcd(PublishDrop6Test): | ||
""" | ||
publish drop: no publish | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" | ||
|
||
|
||
class PublishDrop7TestEtcd(PublishDrop7Test): | ||
""" | ||
publish drop: under prefix with trailing & leading slashes | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" | ||
|
||
|
||
class PublishDrop8TestEtcd(PublishDrop8Test): | ||
""" | ||
publish drop: skip component cleanup | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" | ||
|
||
|
||
class PublishDrop9TestEtcd(PublishDrop9Test): | ||
""" | ||
publish drop: component cleanup after first cleanup skipped | ||
""" | ||
databaseType = "etcd" | ||
databaseUrl = "127.0.0.1:2379" |