use separate behat config for core tests
This commit is contained in:
+2
-3
@@ -912,7 +912,6 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
|||||||
"steps": skipIfUnchanged(ctx, "acceptance-tests") +
|
"steps": skipIfUnchanged(ctx, "acceptance-tests") +
|
||||||
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
|
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
|
||||||
ocisServer(storage, accounts_hash_difficulty) +
|
ocisServer(storage, accounts_hash_difficulty) +
|
||||||
restoreBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "oC10ApiTests-%s-storage-%s" % (storage, part_number),
|
"name": "oC10ApiTests-%s-storage-%s" % (storage, part_number),
|
||||||
@@ -920,7 +919,6 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
|||||||
"environment": {
|
"environment": {
|
||||||
"TEST_WITH_GRAPH_API": "true",
|
"TEST_WITH_GRAPH_API": "true",
|
||||||
"PATH_TO_OCIS": "%s" % dirs["base"],
|
"PATH_TO_OCIS": "%s" % dirs["base"],
|
||||||
"PATH_TO_CORE": "%s/%s" % (dirs["base"], dirs["core"]),
|
|
||||||
"TEST_SERVER_URL": "https://ocis-server:9200",
|
"TEST_SERVER_URL": "https://ocis-server:9200",
|
||||||
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
|
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
|
||||||
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
|
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
|
||||||
@@ -932,9 +930,10 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
|||||||
"RUN_PART": part_number,
|
"RUN_PART": part_number,
|
||||||
"EXPECTED_FAILURES_FILE": expectedFailuresFile,
|
"EXPECTED_FAILURES_FILE": expectedFailuresFile,
|
||||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||||
|
"BEHAT_YML": "%s/tests/acceptance/config/behat-core.yml" % (dirs["base"]),
|
||||||
},
|
},
|
||||||
"commands": [
|
"commands": [
|
||||||
"make -C %s/%s test-acceptance-api" % (dirs["base"], dirs["core"]),
|
"make -C %s test-acceptance-api" % (dirs["base"]),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
] + failEarly(ctx, early_fail),
|
] + failEarly(ctx, early_fail),
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
|||||||
|
dn: ou=TestUsers,dc=owncloud,dc=com
|
||||||
|
objectclass: top
|
||||||
|
objectclass: organizationalUnit
|
||||||
|
ou: TestUsers
|
||||||
|
|
||||||
|
dn: ou=TestGroups,dc=owncloud,dc=com
|
||||||
|
objectclass: top
|
||||||
|
objectclass: organizationalUnit
|
||||||
|
ou: TestGroups
|
||||||
Reference in New Issue
Block a user