Skip to content

Commit

Permalink
adding test case for live loader
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-bansal committed Oct 27, 2020
1 parent 5c77e01 commit 41e0a6e
Show file tree
Hide file tree
Showing 27 changed files with 643 additions and 387 deletions.
47 changes: 47 additions & 0 deletions tlstest/mtls_internal/loader/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Auto-generated with: [compose -a 1 -z 1 -w]
#
version: "3.5"
services:
alpha1:
image: dgraph/dgraph:latest
container_name: alpha1
working_dir: /data/alpha1
labels:
cluster: test
ports:
- 8180:8180
- 9180:9180
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
- type: bind
source: ../tls/alpha1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph alpha -o 100 --my=alpha1:7180 --zero=zero1:5180
--tls_dir /dgraph-tls --tls_enable_inter_node=true --tls_cert client.alpha1.crt --tls_key client.alpha1.key
--logtostderr -v=2 --whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
zero1:
image: dgraph/dgraph:latest
container_name: zero1
working_dir: /data/zero1
labels:
cluster: test
ports:
- 5180:5180
- 6180:6180
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
- type: bind
source: ../tls/zero1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph zero -o 100 --idx=1 --my=zero1:5180 --logtostderr -v=2
--tls_dir /dgraph-tls --tls_enable_inter_node=true --tls_cert client.zero1.crt --tls_key client.zero1.key
--bindall
volumes: {}
100 changes: 100 additions & 0 deletions tlstest/mtls_internal/loader/loader_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/*
* Copyright 2018 Dgraph Labs, Inc. and Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package main

import (
"context"
"github.com/spf13/viper"
"io/ioutil"
"log"
"os"
"path/filepath"
"testing"

"github.com/stretchr/testify/require"

"github.com/dgraph-io/dgo/v200/protos/api"
"github.com/dgraph-io/dgraph/testutil"
"github.com/dgraph-io/dgraph/x"
)

// TestLoaderXidmap checks that live loader re-uses xidmap on loading data from two different files
func TestLoaderXidmap(t *testing.T) {
conf := viper.GetViper()
conf.Set("tls_cacert", "../tls/live/ca.crt")
conf.Set("tls_enable_inter_node", true)
conf.Set("tls_server_name", "alpha1")
dg, err := testutil.DgraphClientWithCerts(testutil.SockAddr, conf)
require.NoError(t, err)
ctx := context.Background()
testutil.DropAll(t, dg)
tmpDir, err := ioutil.TempDir("", "loader_test")
require.NoError(t, err)
defer os.RemoveAll(tmpDir)

data, err := filepath.Abs("testdata/first.rdf.gz")
require.NoError(t, err)
tlsDir, err := filepath.Abs("../tls/live")
require.NoError(t, err)
log.Print(testutil.SockAddr, testutil.SockAddrZero)
err = testutil.ExecWithOpts([]string{testutil.DgraphBinaryPath(), "live",
"--files", data,
"--alpha", testutil.SockAddr,
"--zero", testutil.SockAddrZero,
"--tls_cacert", tlsDir + "/ca.crt",
"--tls_enable_inter_node=true",
"--tls_cert", tlsDir + "/client.liveclient.crt",
"--tls_key", tlsDir + "/client.liveclient.key",
"--tls_server_name", "alpha1",
"-x", "x"}, testutil.CmdOpts{Dir: tmpDir})
require.NoError(t, err)

// Load another file, live should reuse the xidmap.
data, err = filepath.Abs("testdata/second.rdf.gz")
require.NoError(t, err)
err = testutil.ExecWithOpts([]string{testutil.DgraphBinaryPath(), "live",
"--files", data,
"--alpha", testutil.SockAddr,
"--zero", testutil.SockAddrZero,
"--tls_cacert", tlsDir + "/ca.crt",
"--tls_enable_inter_node=true",
"--tls_cert", tlsDir + "/client.liveclient.crt",
"--tls_key", tlsDir + "/client.liveclient.key",
"--tls_server_name", "alpha1",
"-x", "x"}, testutil.CmdOpts{Dir: tmpDir})
require.NoError(t, err)

op := api.Operation{Schema: "name: string @index(exact) ."}
x.Check(dg.Alter(ctx, &op))

query := `
{
q(func: eq(name, "Alice")) {
age
location
friend{
name
}
}
}`
expected := `{"q":[{"age":"13","location":"Wonderland","friend":[{"name":"Bob"}]}]}`

resp, err := dg.NewReadOnlyTxn().Query(ctx, query)
require.NoError(t, err)
testutil.CompareJSON(t, expected, string(resp.GetJson()))

}
Binary file added tlstest/mtls_internal/loader/testdata/first.rdf.gz
Binary file not shown.
Binary file added tlstest/mtls_internal/loader/testdata/second.rdf.gz
Binary file not shown.
36 changes: 18 additions & 18 deletions tlstest/mtls_internal/tls/alpha1/node.crt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDjTCCAnWgAwIBAgIId88pz4Vl5vgwDQYJKoZIhvcNAQELBQAwRjEaMBgGA1UE
MIIDmTCCAoGgAwIBAgIIFQ1JnYG5gXYwDQYJKoZIhvcNAQELBQAwRjEaMBgGA1UE
ChMRRGdyYXBoIExhYnMsIEluYy4xFzAVBgNVBAMTDkRncmFwaCBSb290IENBMQ8w
DQYDVQQFEwY2OGI2M2YwHhcNMjAxMDE5MDg1MjU2WhcNMjExMDIwMDg1MjU2WjBD
DQYDVQQFEwY2OGI2M2YwHhcNMjAxMDI2MDkxNzEzWhcNMjExMDI3MDkxNzEzWjBD
MRowGAYDVQQKExFEZ3JhcGggTGFicywgSW5jLjEUMBIGA1UEAxMLRGdyYXBoIE5v
ZGUxDzANBgNVBAUTBjc3Y2YyOTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBALrHtIvJIToKjqf8Zs8jTtOhZBl4BaQe2zSpgx1kvyD43snzaCrkgTrAfjTe
uYhr64O6h4G0Q3BYeP/67CkN92jMcOkHe//ITrYCqhz2XkLhcBx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/VFm+Rbyeyw6qjJji0eHQ2AsiSzwxNHdRr4RUqbjTuqMulH
tpGI0znzGqcdDZHL6TjEDUwZcRgz+vcYKxXnm/OI/rReU6EcCk+qil877kdqNrcN
r8NONZJUHzOjSDzv3LLsoeC/4C8CAwEAAaOBjTCBijAOBgNVHQ8BAf8EBAMCBaAw
HQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMFkGA1UdEQRSMFCCBmFscGhh
MYIGYWxwaGEyggZhbHBoYTOCBmFscGhhNIIGYWxwaGE1ggZhbHBoYTaCBXplcm8x
ggV6ZXJvMoIFemVybzOCCWxvY2FsaG9zdDANBgkqhkiG9w0BAQsFAAOCAQEALYYi
TUrrIcBFYjdIGuPpQw/qIoq3mryHWtVr+2f8B9YYPbQaH8ORKKC3VWHGnIwLNPj1
+lWaZ880pu3+iAvcn0VDnjjTnreYrl8JuTiRtJORKDEGVtehxq2HY5C0bYpkLpEO
sYCLSQAuyBjwYXpyYkaunZWwaH7p/gFW2MWs+o9VcRTEWuK1JPHOoKu7K6HA93X1
m7lE7WeOa8dynmY7ujqI/nEuAEdJ4DmSIC7qsLjmB2O1NMSqiOMVQXIAITKFFdjN
kgXZha6sZnR3pbDcDK5WgE/NT/kS6tTN9EbEjuiXEkccXCKZsNnd/fyukh1dKYEz
d5O/swm8cGRHRTkEDg==
-----END CERTIFICATE-----
50 changes: 25 additions & 25 deletions tlstest/mtls_internal/tls/alpha1/node.key
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEAuse0i8khOgqOp/xmzyNO06FkGXgFpB7bNKmDHWS/IPjeyfNo
KuSBOsB+NN65iGvrg7qHgbRDcFh4//rsKQ33aMxw6Qd7/8hOtgKqHPZeQuFwHEjl
4zdVrQ2UWZ4ftRV49Ue32uQ2wS2BXtwQtvKNFM9KlYal2InS9HoYEJ8DMuy50yL2
tr9BuRqOVCZ29IfgLJexOtKVgtpVCYEyy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eYriDiW
1k08NJh/BKl7vI3Mc2rLjwVaVpk0GQZ0shXpxWY9Zg1vRemuO++OWRNk6DQh4IUA
vW3hohCd7njuAqBnaDm6p5VS28o0Tk2GOUTe5Yf9CjjlLN9j+DsZrRsCgYEAwv/o
PvOF2Wu8iR/1jNVdNOymoCv/RjmJyZduFJmxWoQoGMV0IDzREMmBoTIux+VLMZOx
AF7hyxKYTTnYvl15ys+Vv8E2KvNSSb2mc4Gz/lxVnZU6WXh5DYZ409L+pnczYMZH
e4GK8DMm3o2UBMxaCbs+Ey038jjR9FEZB9OKrn0CgYEA0QG/EyZ2JHCTMvDoPNc8
Y+WxSAESWQLKqZi53y93WAykpcuZZ0n3t3i/4tv5KVN6P4gsXCmHMPng+oogXRyB
O7Wah+m43sdq8cjILJwlP3lLUWxqSaehJ011GSIUZLk+oYMRqwJKX6CHsz71iEKV
lxZZZcq5TX8Zphf4zCQBmo8CgYEApNZ/FPf25dxU+/WwNOUIbXy/PhbzLAHnoCoK
PA/QBJxC6O3BRJ8ke/RbSFCLix8heT9IGPAcHvYRGPcVaZbLJc5k4DwL9jLKFNvk
oS+7YAHdveAv+wIEEpLiAO4TpdSN8fiq5JSVRod3DBrSTVwRoLhPuRY4fOHbWZRU
fHEugmECgYBKqp8Qey1ZNV5iC462MKnN/Nto0GCz16l7I3nH7zNGZGE/XAvQbTTV
y+Yj523nRe3+XIgOO17Y8+wIwDI2M7rEeBgEo3kseF1ofmDS9NBwV2UyRuqjiTjO
cseRdI6XrelWNbeB3CpV7PXKXcllNEJVUV431AUqWRKjmTKIBCDWJg==
-----END RSA PRIVATE KEY-----
36 changes: 18 additions & 18 deletions tlstest/mtls_internal/tls/alpha2/node.crt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDjTCCAnWgAwIBAgIIPlXs7EPlPbMwDQYJKoZIhvcNAQELBQAwRjEaMBgGA1UE
MIIDmTCCAoGgAwIBAgIIKC64yLm0s4kwDQYJKo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oU/B8iurGFM57kfkEGf1+umx/rPRS3zWsuMFi
5rjeIm2NftsBuVmy9Yb7ayrZ9cyJ7mDvZt9YafypnuOq142w20lOCAeZY1NEA7KY
QPx+D+BpLJVjRkm0OA==
-----END CERTIFICATE-----
50 changes: 25 additions & 25 deletions tlstest/mtls_internal/tls/alpha2/node.key
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAvtl89MzzatLn6U9/6712gq2vPV5PyKsi/PXkDs7cZYOflXHl
mxrAmHg8M4Mqvl6zIGhYqbdwbPlWQQomJXyONj1h7ylTfbadgWA02KUll8/0xydR
lMwD2yCwfQf26olLg7v186g82BMbviNKYXOLqOYEbdv1hdvSJzesr9hfvF3yms6R
H8nWNdNmamjgDe+MW2JoGcXe6yqKAWDa0FFguTjlWMBS0W4FLjPRGCb1O6OQkeyh
TAv9xu5wwQ0CcWjyMXwI2RFxeDIUluWhaEbZ/TLeVScJZEtlWrAxR7Wj1SGKW+bY
UmTkbU+Uz12tbnd2Vm41uNJ0csuOMSA6vd36ZwIDAQABAoIBAQCY0JTZf3I5Sv8f
NeT74g0Ovfvfa7D+wOmXG1ys7r5TGn2hsD1lYJpue3fY12JWZIWRoXu9CYEgANYr
5fB9e6pzi9rrIXAU7TBY86vc/P+I+57ICJeuSV2dDCPFOadgTOcGaG6b105Axawl
JyTbuyVM7EEHpmSF9mnjtRS1CNA/hqcbkCcZ+++Ll+YEa2ATtmrq0eQ1plpJIwJs
9hJpcWg607LcxY8H7ZEaFE/HotL7czD2mDAtdXxYV/ATbFNvoOOawhm/N1IW4tnl
O8pcnM7Q+GnY+dyBjnMYzxBSh+B7HLdJ5NqQNW5qVcscEFTidDHaAJJqcrT377QD
r8sOtBfBAoGBAO/zQYTUkp0FE9ONMVK04WEKSQQL5VDa4NqJEXPuzRbLHS/vxGlg
9FqtS8Zjic+o7pnA8ccW7KOMpy5zHgdCGJ5JxH9ogszMZWopJEf4o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npgXmiYipBaEf0j6Ga8Api8YxrQHtDbvjcplo7La5weJiAWXZ8aUlCHQx
qYyogQKBgQC40aos5OxS6XyakCszy5RxbjjB6hDe3sdODGYHJRn9O8J88R7/SP27
KU43bcrWlNeQpMPhXcIj2NfTM0VxkbuoikvmXN+E7aySDIv6fXBzRsIz1DpgOzsH
Gh0Tl9UOjI76YuM8vn2spCSp4rMFwTQlAhhi8niHITWoUrZtI6BD5A==
-----END RSA PRIVATE KEY-----
36 changes: 18 additions & 18 deletions tlstest/mtls_internal/tls/alpha3/node.crt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDjTCCAnWgAwIBAgIIDrNZoh4pMB0wDQYJKoZIhvcNAQELBQAwRjEaMBgGA1UE
MIIDmTCCAoGgAwIBAgIIL6x4q2M+4NMwDQYJKoZIhvcNAQELBQAwRjEaMBgGA1UE
ChMRRGdyYXBoIExhYnMsIEluYy4xFzAVBgNVBAMTDkRncmFwaCBSb290IENBMQ8w
DQYDVQQFEwY2OGI2M2YwHhcNMjAxMDE5MDg1NDA2WhcNMjExMDIwMDg1NDA2WjBD
DQYDVQQFEwY2OGI2M2YwHhcNMjAxMDI2MDkxODM4WhcNMjExMDI3MDkxODM4WjBD
MRowGAYDVQQKExFEZ3JhcGggTGFicywgSW5jLjEUMBIGA1UEAxMLRGdyYXBoIE5v
ZGUxDzANBgNVBAUTBjBlYjM1OTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBALTKA2c9iC7jjsxeEtAYu2B8EmhnqwBIhJKI683sy8pgw1V0/YeHJqNs/LYd
Ewegya1iCSa3+/Rov828wEBPNODmDYN8+cTiTeoFXaAPsiADcFx0v+xDYJ3lDstf
Jph1qG2T+ZzcQFtWS5N7lqoO0/W7cUtLSmF70wJYGeNR2aiWV7p9OfkhGMF/HCvm
eR0hYynr73XAcL1PMnNACMb9mmA78bQGNc5T/8YipZSTkQ/2YVF8kQp4aCP0Th0S
zm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