These are generic tests. See also version-specific tests for:
Deployment
- Manual Start. (Mac, Ubuntu or CentOS, and Windows)
- Manual start (3 nodes minimum, 1 zero + 2 alpha)
- Manual start (3 nodes minimum, 1 zero + 2 alpha) with encryption
- Manual start (3 nodes minimum, 1 zero + 2 alpha) with acl
- Manual start (3 nodes minimum, 1 zero + 2 alpha) with tls
- Manual start (3 nodes minimum, 1 zero + 2 alpha) with encryption, acl and tls
- Kubernetes (Platform Independent)
- Deploy with yaml file
- Deploy with Helm
- Docker (Mac, Ubuntu or CentOS, and Windows)
- Deploy with docker
Export / Import / Backup / Restore
- (Mac, Ubuntu or CentOS, and Windows)
- Import a big dataset with the live loader
- Import a big dataset with the bulk loader (start with a clean installation)
- Export the dataset imported in the previous step (Tip: http://localhost:8080/admin/export)
- Test the enterprise backup (same dataset)
- Restore the backup previously taken
- Start a cluster with the restored data and verify existing data can be mutated. Also verify that new data can be added.
- Backup data in a cluster running (latest version of Dgraph - 1), and restore the backup to a cluster running the latest version. The restore operation should succeed because Dgraph stores backups in a backwards-compatible format.
Upgrade
- (Mac, Ubuntu or CentOS, and Windows)
- Import-export
- Install previous GA release (its latest patch). Import a big dataset and then export the data
- Load the data previously exported into the new release that is being tested
- In-place
- Only for patch releases: Start from a previous patch release. Load a big dataset. Stop the cluster, install new binary, start the cluster again. Check the logs for errors. Quickly verify that the cluster has started and the data are there
Ratel (Platform Independent)
- do some random testing until we write down some specific tests
you have to run with local bin use http://localhost:8000/?local