Apply Test Driven Development(TDD) to the process of building container images by defining test before writing code and automate the testing process. Iterate through the TDD cycle while developing...
...and running the tests later in continuous integration to ensure robust and reliable container images. Installation We create a Gemfile for installing all required gems. Gemfile # Gemfile gem 'docker-api...
sudo gitlab-rails console Note This takes some minutes to start Send a mail Use the following...
swaks is a very nice tool to test SMTP. For the most linux distributions you can easily install it with your package management system. This example send an email from...
...Date: Mon, 04 Nov 2013 15:56:19 +0100 ~> To: to@example.com ~> From: from@example.com ~> Subject: test Mon, 04 Nov 2013 15:56:19 +0100 ~> X-Mailer: swaks v20111230.0 jetmore.org/john/code/swaks/ ~>
You can use wscat: sudo apt-get install node-ws # wscat -c ws://echo.websocket.org connected (press CTRL+C to quit...
This rule needs to be adapted to your setup and needs to be tested before it's activated. Activating lifecycle rules can instantly delete images from registries.
"tagStatus": "tagged", "countType": "sinceImagePushed", "countUnit": "days", "countNumber": 10 }, "action": { "type": "expire" } } ] } Careful when testing Testing these rules is a little confusing because of the wording in the AWS console...
...server before the new version can be used. That also means you can't test functions in a different puppet environment. And also if you have changed functions in a...
...different puppet environment (where you e.g. test some new module version) and this environment runs at first after a puppetserver restart, you have this changed functions also in your production...
...is very important to double-check results to be avoid unexpected consequences. Can I Test Things Locally With a Database Dump? Unfortunately not. Restoring from a logical database backup, i.e...
...an SQL dump, will not reproduce the error and is not suitable for testing changes, since importing dumps will re-create indexes in the first place.
In our monitoring, RabbitMQ queues like aliveness-test may show up as unresponsive, with a ping timeout after 10 seconds. The logfile will generally read like this: operation queue.delete caused...
...to perform operation on queue 'example' in vhost '/' due to timeout For the aliveness-test queue, you can can use this command to delete it: rabbitmqctl eval 'rabbit_amqqueue:internal...
...do changes you can use the rails console sandbox feature: If you wish to test out some code without changing any data, you can do that by invoking bin/rails console...
...https. This card is for the later kind. The Problem When you want to test your application directly on the VM it's running and usually it's the proxy...
...However the application will still redirect to https URLs which might not work for testing directly on the VM. $ curl -v http://localhost:12345 * Trying 127.0.0.1:12345... * TCP_NODELAY set...
...by checking the $LD_PRELOAD environment variable: echo $LD_PRELOAD LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 To test if Jemalloc is the reason, unset the Environment Variable and run the command again:
.../var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log { daily rotate 7 missingok create 640 mysql adm compress sharedscripts postrotate test -x /usr/bin/mysqladmin || exit 0 # check if server is running if mysqladmin ping > /dev/null...
A convenient way to test SNS Subscription Filter Policies is using an email address as the subscription endpoint. However, for this to work when the filter is applied to the...
...the service and get this error message instead: nginx: [emerg] could not build the test_types_hash, you should increase test_types_hash_bucket_size: 64 nginx: configuration file /etc/nginx/nginx.conf...
Option 1: Use gzip_types *; If you don't care about which MIME type gets the gzip handling, just tell nginx that any MIME type should be gziped...
Install and configure the AWS Command Line Interface Show existing certificates to test if the AWS Cli is working: $ aws iam list-server-certificates { "ServerCertificateMetadataList": [ { "Path": "/", "Arn": "arn:aws:iam...
...if you have an unparsable mail aliases file you will get this: # puppet agent --test --trace --noop Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin
Best results in other decks
...limited to 3 e-mails per day. Further reading ActionMailer: How to send a test mail directly from the console Debugging SPF records
Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of three things can happen: The browser shows a "Save as...
...through Selenium. The browser automatically downloads the file without prompting the user. For the test it looks like nothing has happened. The browser shows a binary document in its own...