当前位置:网站首页>Neglected problem: test environment configuration management
Neglected problem: test environment configuration management
2022-07-04 18:20:00 【InfoQ】
- Online problems occur frequently ;
- Configuration management is not standardized ;
- The production and test environments are not isolated ;
- The quality of online delivery is not high ;
- The process specification is not perfect , Insufficient landing effect ;
- QA Lack of good tools and means to carry out quality assurance ;
How important is the test environment
- Network isolation : That is, requests cannot be accessed across environments , Especially in non production and production environments ;
- Data isolation : That is, different environments should have their own independent data sources , In principle, the same data source cannot be shared ;
- Circulation card points : Publish the code to the next environment node , In principle, it should meet the state or standard of circulation , You can't publish at will ;
- Other matters : If there are multiple sets in a certain environment , Suggest sharing data sources , In this way, the cost of maintenance and change is low ;
How to manage the test environment
Change management
Rights management
- There are no restrictions on service publishing: Set the service publishing time window through the publishing platform , Negotiate, communicate and confirm with the R & D and test teams ( Reduce service unavailability caused by arbitrary publishing );
- Anyone can publish it at any time: Each application or business domain application set specifies Services owner, Service publishing needs to go through owner The publishing process can only be executed after the second confirmation ;
- Information out of sync & High communication cost: Establish a special service release information synchronization group , An application needs to be released , Automatic Aite corresponding owner Make notification confirmation ( It can be set to be undisturbed , But the impact needs owner Be responsible for );
Data management
- Table structure changes in multiple test environments , It needs to be mentioned many times DDL The repair order ,DBA Students have a large amount of tasks ;
- Suppose the test environment switches during the test , The change will be repeated , It is easy to omit or change incorrectly ;
- Even if there is a special test data embedding tool , However, multiple environments and data sources will lead to more time-consuming data preparation , Increase complexity ;
- Different environments and different data sources , When performing automated regression , test case And data may need to be modified and adapted , Time consuming and laborious ;
- Even if multiple projects are carried out at the same time , But the final release online is only a set of environment and data sources , This will lead to the online risk probability caused by frequent changes ;
Tools and means
- All changes require check, Major changes require approval ;
- With tools and platforms , Close the change permission , Use a unified process to standardize the operation process ;
- Reduce the frequency of changes , Clarify the access and exit criteria for change circulation , Test students to do a good job in quality control ;
Other management methods
- Code branch naming conventions ;
- Service unavailable subscription notification ;
- The service release notification function is online ;
- Training on environmental unavailability problems and solutions ;
- Set up a virtual group , Each domain is designated to be responsible for the testing of that domain owner;
- Integrate automation frameworks and methods of different business lines , Provide a unified technical solution ;
- Test environment access log monitoring alarm , From the service layer -DB layer , Monitor and alarm automatically and transparently ;
- Environment and service unavailability are included in the fault SLA Measurement dimension , Regularly repeat and analyze , And constantly improve ;
边栏推荐
- Load test practice of pingcode performance test
- 上市公司改名,科学还是玄学?
- DB-Engines 2022年7月数据库排行榜:Microsoft SQL Server 大涨,Oracle 大跌
- 中断的顶半部和底半部介绍以及实现方式(tasklet 和 工作队列)
- Ks007 realizes personal blog system based on JSP
- 网上开户安全吗?是真的吗?
- 明星开店,退,退,退
- Why are some online concerts always weird?
- 补能的争议路线:快充会走向大一统吗?
- Open source PostgreSQL extension age for graph database was announced as the top-level project of Apache Software Foundation
猜你喜欢
With the stock price plummeting and the market value shrinking, Naixue launched a virtual stock, which was deeply in dispute
TCP waves twice, have you seen it? What about four handshakes?
蓝桥:合根植物
Recast of recastnavigation
ISO27001 certification process and 2022 subsidy policy summary
Open source PostgreSQL extension age for graph database was announced as the top-level project of Apache Software Foundation
超标量处理器设计 姚永斌 第7章 寄存器重命名 摘录
Talk about seven ways to realize asynchronous programming
Ks007 realizes personal blog system based on JSP
股价大跌、市值缩水,奈雪推出虚拟股票,深陷擦边球争议
随机推荐
我写了一份初学者的学习实践教程!
Load test practice of pingcode performance test
估值900亿,超级芯片IPO来了
创业两年,一家小VC的自我反思
Flask 轻量web框架
Summary of subsidy policies across the country for dcmm certification in 2022
内核中时间相关的知识介绍
中断的顶半部和底半部介绍以及实现方式(tasklet 和 工作队列)
[system analyst's road] Chapter 7 double disk system design (structured development method)
Wuzhicms code audit
Imitation of numpy 2
谷粒商城(一)
Device interface analysis of the adapter of I2C subsystem (I2C dev.c file analysis)
MySQL常用增删改查操作(CRUD)
如何使用 wget 和 curl 下载文件
I wrote a learning and practice tutorial for beginners!
用于图数据库的开源 PostgreSQL 扩展 AGE被宣布为 Apache 软件基金会顶级项目
ISO27001 certification process and 2022 subsidy policy summary
mysql5.7安装教程图文详解
Dynamic programming stock problem comparison