Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

CMS Unified Testing machine

Sharad Agarwal edited this page May 20, 2020 · 4 revisions

Setting up a testing branch

Every PR needs to go through the testing branch.

All links changed from production to testbed

Google Docs Discussion Doc

  • cmsweb -> cmsweb-testbed
  • elastic-search end point -> es-unified-test7.cern.ch

Separate MongoDB database is also needed for testing

We run a docker container for mongodb with version 2.6.12 exactly as in production and database in /data/db_bk in host machine.

docker run --name test_unified -d -v /data/db_bk/:/data/db -p 27017 mongo:2.6.12

[root@vocms0277 ~]# docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                      NAMES
54780c203b32        mongo:2.6.12        "/entrypoint.sh mong…"   About an hour ago   Up About an hour    0.0.0.0:32773->27017/tcp   test_unified
Clone this wiki locally