From 8c9521d806167da7d90ccdb2c8709fe08c7e35e5 Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Thu, 12 Mar 2020 13:47:29 -0700 Subject: [PATCH] Create failcase for deploying the same code twice --- CHANGELOG.md | 2 ++ test/run-deps | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7617a30..7df032f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ # Master +- Add failcase for cache busting + - Correct ftp to https in vendored file - Warn for Django 1.11 approaching EOL, provide link to roadmap diff --git a/test/run-deps b/test/run-deps index 29d7f8f..9992497 100755 --- a/test/run-deps +++ b/test/run-deps @@ -65,6 +65,16 @@ testPylibmc() { assertCapturedSuccess } +testDeployingTwiceUsesTheCache() { + compile "pythonDefault" + assertNotCaptured "Installing collected packages:" + assertCapturedSuccess + compile "pythonDefault" + assertCaptured "Requirement already satisfied:" + assertNotCaptured "Installing collected packages:" + assertCapturedSuccess +} + pushd $(dirname 0) >/dev/null popd >/dev/null