当前位置:网站首页>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 ;
边栏推荐
- uni-app与uviewUI实现仿小米商城app(附源码)
- Is BigDecimal safe to calculate the amount? Look at these five pits~~
- I2C子系统之适配器的设备接口分析(i2c-dev.c文件分析)
- Introduction of time related knowledge in kernel
- 估值900亿,超级芯片IPO来了
- Open source PostgreSQL extension age for graph database was announced as the top-level project of Apache Software Foundation
- Why are some online concerts always weird?
- 设置窗体透明 隐藏任务栏 与全屏显示
- With an estimated value of 90billion, the IPO of super chip is coming
- Easy to use map visualization
猜你喜欢

Talk about seven ways to realize asynchronous programming

Numpy 的仿制 2

【Hot100】32. Longest valid bracket

线上MySQL的自增id用尽怎么办?

The money circle boss, who is richer than Li Ka Shing, has just bought a building in Saudi Arabia

被忽视的问题:测试环境配置管理

为啥有些线上演唱会总是怪怪的?

Rainfall warning broadcast automatic data platform bwii broadcast warning monitor

Detectron2 installation method

Just today, four experts from HSBC gathered to discuss the problems of bank core system transformation, migration and reconstruction
随机推荐
明星开店,退,退,退
curl 命令妙用
内核中时间相关的知识介绍
使用3DMAX制作一枚手雷
Make a grenade with 3DMAX
通过事件绑定实现动画效果
“在越南,钱就像躺在街上”
【Hot100】32. 最长有效括号
就在今天丨汇丰4位专家齐聚,共讨银行核心系统改造、迁移、重构难题
Mathematical analysis_ Notes_ Chapter 7: differential calculus of multivariate functions
12 - explore the underlying principles of IOS | runtime [isa details, class structure, method cache | t]
Numpy 的仿制 2
Self reflection of a small VC after two years of entrepreneurship
Stars open stores, return, return, return
Tutorial on the use of Huawei cloud modelarts (with detailed illustrations)
Wuzhicms code audit
怎么开户才是安全的,
Why are some online concerts always weird?
Set the transparent hidden taskbar and full screen display of the form
Clever use of curl command