DevOps
5 Tips Of GUI Tests With Python + Selenium
I have been using Python + Selenium for years. Honestly speaking, I’m far from a frontend expert or a QA expert. Here are my lessons learned from this journey.
If you’re also a Python user and need GUI testing, check this out!
Get Alerts, When Containers Run Into Issues
I’m running docker containers for all side projects. Usually one single container. Sometimes multiple containers started by docker-compose[1].
If containers get issues, I want to get alerts.
What a typical monitoring requirement! But if you do some research, you will find the information is just overwhelming. cAdvisor, Prometheus, InfluxDB, etc. Excuse me? Can’t we have a simple solution for this simple requirement? Here is my answer. Try it and discuss with me.
Backup Elasticsearch Indices By NFS
Suppose you have a critical Elasticsearch cluster. You have to know how to backup it. Correctly and quickly.
It’s not too difficult. But there are something you’d better know. And those are quite common in most DB backup.
Check it out, before it bits you.
[Container] Run Process Debug Tools, But Install Nothing
Ever need to debug your process in containers? Use strace, lsof, pstree, or anything you name it. But after login, you get a surprise: The tools are not installed!
So what will you do? Typically we have 3 different methods. Check it out, and discuss with me.
(Hint: You don’t have to install the tools at all)