Removed brittle tests

This commit is contained in:
Marcin Grzejszczak
2019-07-23 13:01:15 +02:00
parent eaa807396c
commit 8d1f5b2c53

View File

@@ -130,7 +130,6 @@ export -f stubbed_git
# Previous branch was [master]
assert_output --partial "git checkout master"
assert_output --partial "git checkout v1.0.0.RELEASE"
assert_output --partial "Extracted 'main.adoc' from Maven build [home]"
assert_output --partial "git stash"
assert_output --partial "git checkout gh-pages"
assert_output --partial "git pull origin gh-pages"
@@ -297,21 +296,6 @@ export -f stubbed_git
assert_output --partial "clean install"
}
@test "should retrieve maven properties for docs" {
export WHITELIST_PROPERTY="spring-doc-resources.version"
export MAVEN_EXEC="./mvnw"
cd "${TEMP_DIR}/spring-cloud-stream/"
source "${SOURCE_DIR}"/ghpages.sh
retrieve_doc_properties
assert_success
assert [ "${MAIN_ADOC_VALUE}" == "home" ]
assert [ "${WHITELISTED_BRANCHES_VALUE}" == "0.1.1.RELEASE" ]
}
@test "should stash changes if dirty" {
export GIT_BIN="printing_git_failing_with_diff_index"
cd "${TEMP_DIR}/spring-cloud-stream/"