Deployment Types for QA: Recreate Deployment
There are several strategies for delivering code to a server, commonly referred to as deployments. In this guide, Iโll focus on one of the oldest and most straightforward approaches: Recreate Deployment. You will learn how it works and, more importantly, what it means for QA engineers and Test Automation. โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐๐ก๐๐ญ ๐๐ฌ ๐๐๐๐ซ๐๐๐ญ๐ ๐๐๐ฉ๐ฅ๐จ๐ฒ๐ฆ๐๐ง๐ญ? โค The old version (lets call it V1) is taken completely offline โค The new version (V2) is deployed and started โค Application is completely unavailable during this switch, its called downtime โค This type of deployment is commonly used in dev/test environments or apps that can handle brief outages โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐๐จ๐ฐ ๐๐ญ ๐๐๐๐๐๐ญ๐ฌ ๐๐๐ฌ๐ญ ๐๐ฎ๐ญ๐จ๐ฆ๐๐ญ๐ข๐จ๐ง โฆ Problem #1: Tests Fail During Deployment Automated tests will fail if they run during deployment because the application is down. You'll see connection errors, timeouts 502 HTTP code, or "service unavailable" messages. Solution: Schedule your test runs AFTER deployments complete. Coordinate with DevOps on deployment windows. โฆ Problem #2: Timing Issues in CI/CD Pipelines If a CI/CD pipeline triggers tests immediately after deployment, they might start before the new version is fully ready. Solution: Add a health check or wait period in your pipeline. โค Wait 30-60 seconds after deployment โค Ping a health endpoint until it responds โค Only then start your test suite ๐.๐. ๐ฉ ๐๐ ๐ฒ๐จ๐ฎ ๐ก๐๐ฏ๐๐งโ๐ญ ๐ฐ๐๐ญ๐๐ก๐๐ ๐ข๐ญ ๐ฒ๐๐ญ, ๐ฒ๐จ๐ฎ๐ซ ๐ง๐๐ฑ๐ญ ๐ฌ๐ญ๐๐ฉ ๐ข๐ฌ ๐ญ๐ก๐ ๐
๐๐๐ ๐-๐ฉ๐๐ซ๐ญ โ๐๐๐ง๐ฎ๐๐ฅ ๐๐ โ ๐๐๐๐โ ๐ฐ๐จ๐ซ๐ค๐ฌ๐ก๐จ๐ฉ,ย ๐ ๐ฌ๐ก๐จ๐ซ๐ญ ๐ฆ๐ข๐ง๐ข-๐๐จ๐ฎ๐ซ๐ฌ๐ ๐ญ๐ก๐๐ญ ๐ ๐ข๐ฏ๐๐ฌ ๐ฒ๐จ๐ฎ ๐ญ๐ก๐ ๐๐ฎ๐ฅ๐ฅ ๐ซ๐จ๐๐๐ฆ๐๐ฉ ๐ญ๐จ ๐๐๐๐จ๐ฆ๐ข๐ง๐ ๐ ๐ฆ๐ข๐-๐ฅ๐๐ฏ๐๐ฅ ๐๐๐๐ ๐๐ง๐ ๐ฉ๐๐ฌ๐ฌ๐ข๐ง๐ ๐ข๐ง๐ญ๐๐ซ๐ฏ๐ข๐๐ฐ๐ฌ. Click Here to Start: https://www.skool.com/qa-automation-career-hub/classroom/078530b1