Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated test data with more realistic origin #71

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
)

var (
testOrigin = "astra"
testLogVerifier = mustMakeVerifier("astra+cad5a3d2+AZJqeuyE/GnknsCNh1eCtDtwdAwKBddOlS8M2eI1Jt4b")
testOrigin = "example.com/log/testdata"
testLogVerifier = mustMakeVerifier("example.com/log/testdata+33d7b496+AeHTu4Q3hEIMHNqc6fASMsq3rKNx280NI+oO5xCFkkSx")
// Built using serverless/testdata/build_log.sh
testRawCheckpoints, testCheckpoints = mustLoadTestCheckpoints()
)
Expand Down
6 changes: 3 additions & 3 deletions testdata/build_log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ exit 1
DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)

export LOG=${DIR}/log/
export SERVERLESS_LOG_PRIVATE_KEY="PRIVATE+KEY+astra+cad5a3d2+ASgwwenlc0uuYcdy7kI44pQvuz1fw8cS5NqS8RkZBXoy"
export SERVERLESS_LOG_PUBLIC_KEY="astra+cad5a3d2+AZJqeuyE/GnknsCNh1eCtDtwdAwKBddOlS8M2eI1Jt4b"
export ORIGIN="astra"
export SERVERLESS_LOG_PRIVATE_KEY="PRIVATE+KEY+example.com/log/testdata+33d7b496+AeymY/SZAX0jZcJ8enZ5FY1Dz+wTML2yWSkK+9DSF3eg"
export SERVERLESS_LOG_PUBLIC_KEY="example.com/log/testdata+33d7b496+AeHTu4Q3hEIMHNqc6fASMsq3rKNx280NI+oO5xCFkkSx"
export ORIGIN="example.com/log/testdata"

cd ${DIR}
rm -fr log
Expand Down
4 changes: 2 additions & 2 deletions testdata/log/checkpoint
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
15
rKbDipCvhuX1GZ7g5BBe8sA6BbJ7ja/1nk427v383cs=

astra ytWj0rJVDQTRJQewX74UJrwdh07x1AScLrx30fZCyKrXqrFF3bSuuELfDG2v2RsH36b+/QFmZxAJqqpKt0SAEVspvwA=
example.com/log/testdata M9e0luh4jTG+UMBqOUo9/q+yAEvx1ilBEniMvjf1zfcBOhg+CKubMt53MvIt/uEWP6zdkdIQzd/fmwlM/dlPWF74ewI=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
0
47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

astra ytWj0hZaDtQDZjWMdE9gIzaC4uDLlfwsogqX7BH1k2Wi7WgV/3bHMyZoqZV07t0v99/A67bPT9O3/d8FX7/L/CGu7A8=
example.com/log/testdata M9e0lhxJACzE1KoUdqKuPa+9p6R7dSW8BlEvrg/noo8FkGg6PbJoRNOcdjqjOq89wVvTA60eubCc4oufo5BvIVEgtQc=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
1
0Nc2CrefWKseHj/mStd+LqC8B+NrX0btIiPt2SmN+ek=

astra ytWj0n4LKlphCFEgR45pn/xshUj/eFwzL/KnBMSncmFz2SAy4+RMlbKf6B57HVmPUShkTozdj9YBXHZ6qq/uhG0iaQw=
example.com/log/testdata M9e0lhr9kuLxGdAtaUrhm84TQffVsLdcy808sN0a3WyniNlfcr9+bywoiIke1YYciCNjJGkCgIlQ8b16jhsmg/SChAM=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.10
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
10
y8/gZsZCtitsMan09tY+k8I7Qpr7Y5fbO2tLi9GQnfU=

astra ytWj0lxhfBdoS8zGMpErktyYvhJHygCDGXd8zAqWv816lg6GN4umIYtK+RdAAzRsh5NE2VOcp1sGYWCbSlysKJR72Ac=
example.com/log/testdata M9e0lrmwaVEOWFZ+HS5ITnRd2YMOSWE5QeoYu+6DHwJLnJ+SVeJ2ZiYeD7lVC5oGJx76gbfLSyCUEq6D8JkarrsuiQQ=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.11
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
11
Yok1cS5VdokGLBy73BC2I16b3atss6KBN9jnIi6Fz/A=

astra ytWj0jxrvwjvlaIF2PPXHEeD79jVqaXD0zqnfc/Ln0ommu3Kz0jRP9s8Zr6lcPCGYWwvmEb7eq9rnfwAK2f23wIH4ww=
example.com/log/testdata M9e0lqbRtWirJwbUy4w3VrK2RyzfW8P+OIkc8t6b6AVG/tQd1Q2SN+uCLYzNNFnf/PhzeCdURSGQe1MRnohCxPu21wg=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.12
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
12
uZo6M+IhVna+CLgWCrJs0xBPUHbozHkYTQASduHSLME=

astra ytWj0kDOHZtNnsx0n9m1z6daI92NFMPrgKEdvgXHu5Z8rw6YvSU8p8gfBIKk+sDsgM71sW1AOGKK9hSoCdw7MnI/4wQ=
example.com/log/testdata M9e0lrFzoTgi+ovhrqX0DpsEAp3wLu1coMLIkeCwSkGfS4Ox4pLXo2LHudqm4merh0ZkCNzHr8kQwq5gS5mmimIvdA4=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.13
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
13
av0kLH0VkkVDrTuZzBGIx7d9z5G1l/GlKz/nAV/8woQ=

astra ytWj0h1iLgAzAsKuUW6O/Es8tb/1EUbM4oVIl6/iYMGYJg1xTJf5LvhxDhwuwkzxIKlZqUqRbOcsWE0YxiyoEnk8EAI=
example.com/log/testdata M9e0liO8x8xfEOGmZVYODUjQajkEpjccPQ9EkG3yEEDet4K3BWE/DFRPH6H+b6gFFFaG5KS1bBmYS/xeZJs8lj+z+wM=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.14
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
14
SvCd38yNade7xEPY1a/aAc1M3A2AHYVF8lIiUnsH1ao=

astra ytWj0rUVecFiHbkgoYOubus6TlBFv7JqpYBpoFWKagyX7sDUIahCQAPgbJaMxOorOXhjCAoOWP/Q7fdZ8QU6wWAYQgk=
example.com/log/testdata M9e0lu8roIpjC+NXEG7JDkajIahoYDYWgxDtxfx/6rzLoztU9t/PvivZ48xt8ygJpjzaboSpkbVv3Jb+D3NdXWQf5wo=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.15
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
15
rKbDipCvhuX1GZ7g5BBe8sA6BbJ7ja/1nk427v383cs=

astra ytWj0rJVDQTRJQewX74UJrwdh07x1AScLrx30fZCyKrXqrFF3bSuuELfDG2v2RsH36b+/QFmZxAJqqpKt0SAEVspvwA=
example.com/log/testdata M9e0luh4jTG+UMBqOUo9/q+yAEvx1ilBEniMvjf1zfcBOhg+CKubMt53MvIt/uEWP6zdkdIQzd/fmwlM/dlPWF74ewI=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
2
T1X2GdkhUjV3iyufF9b0kVsWFxIU0VI4EpNml2Teci4=

astra ytWj0oE+lpJrzPPxU6ISv0oz5wpAKJit/6P8tg4/uj8f6Nnr6aS72oksHlP0hxtWRO67Y1yNKVUt8qgANhpJsX7zgwM=
example.com/log/testdata M9e0llH4NKmlf0u7C8tkJioQOmi7l5ELqljXgKRg6R3G5JJ7vx7emDWo5fpqKuA/Dk/jRrI6il+7QCVirNhyUAWGoAk=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
3
Wqx3HImawpLnS/Gv4ubjAvi1WIOy0b8Ze0amvqbavKk=

astra ytWj0qwaoheXFrGosuZGP9++Sd3LNCFdZqMPfSyZgWYC8qcrITo9ich7G49OaK85/Xo5P90qsmJz4JDYcNrIE8z4YQg=
example.com/log/testdata M9e0lvAQRtH832pk2RTbeSeZMkp4FZSdJYFBUjO5SKxuRbywPUF3cx+HUrb50kjd3rUWW/fj53Wj1dwcwh9bGQnqVAg=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
4
zY1lN35vrXYAPixXSd59LsU29xUJtuW4o2dNNg5Y2Co=

astra ytWj0nv4H82Ft8OFg3G5Iyt75zNy40zzIvO2PKRQnPms0IEvod8wScXbzHATzoxv6zA/BJNnKDC7+GIKqyYUY6HAEQo=
example.com/log/testdata M9e0lnFuWt0cp60moO4jAkeXvMNLIIOGn4WdyeHQurBt9mBi0tWdfkldiAt9k0FpwuZymvttsVn9uwyouXU3vPpeNAc=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.5
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
5
gy5gl3aksFyiCO95a/1vLXz88A3dRq+0l9Sxte8ZqZQ=

astra ytWj0icpI+5qrn28GjRIeTIuhPfzS0YRzqfj+7ivW5LePTVUF+V2oYSpTEg0lnf0WUarvb7QRL3XIHuqYOfz7+mu3Q4=
example.com/log/testdata M9e0lmn5eDHyHP10zJObZdFAX2y1V8fdDKBi4IiHbDYf1TCUBwxZOhqwv2QZCqrdda2zTRTrmnwjwscN5RBTEmZUYAs=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.6
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
6
a6sWvsc2eEzmj72vah7mZ5dwFltivehh2b11qwlp5Jg=

astra ytWj0nHWPBdivay1n+ZB2vu6T1Bm4xWmvRmzuZnHVr7b819JbaSeUebysot1na0s0hImFBR7FbtZKCToQP1ZqZ7ZUAk=
example.com/log/testdata M9e0ln+nHSdGSHEZBcjvqyYDXDbG8WxDwCDjbbGAMv/NTynAtJWhckSXIpuwpN3yJ4PTtzUbD34YGqIZr6RgJRn16gU=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.7
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
7
IrSXADBqJ7EQoUODSDKROySgNveeL6CFhik2w/+fS7U=

astra ytWj0q61ftJEOaWEsCHuXyLlRcqjLBd1+p7o+iN+9vzKclbpIu4molDU/gKGVcneESQzY+KeoxP3AltrMQANWw4HjQk=
example.com/log/testdata M9e0luA5JhTRUki/BBQD0QNiH6AEJ2pdtsA5CQjqJErViuuKrN6513RCTL2640wXJv0dCed3neRGI6dMzBq9uANf2Qc=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
8
bC+VwvrJbalNVjfkdI8kUgs7mJoXrqiXCE7bgnD28pY=

astra ytWj0vw8YIRDNFkxDAQKZCA0csQQrly8dhKrtUmUmrJ4kONQdBjzPBBGralYfSDMkA4AEg0xYSWZvjfUePMX09g/wwI=
example.com/log/testdata M9e0lq1EK37dHtgv9O3UzPxisw5vwIPcJsX9ab0xt4mvVfbdUR1fbMjN6sBFYpBoBEmD4+cWhj/AVgI5MitCO5+mews=
4 changes: 2 additions & 2 deletions testdata/log/checkpoint.9
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
astra
example.com/log/testdata
9
CvhHViE3S9E3htHLR+25mapWoGCJ3WckMq1UtC3VmEY=

astra ytWj0gSIege/xE5nGZPU6IFTBXlx6Le/YhkSOpked6nYqcFNHKdj93FlwusaQQNlvzULmBTHJ7s/SSnsJXucU66j8wE=
example.com/log/testdata M9e0ls3mdnWX0qk4P3uGG0eYiFRWSwPR+RdeD1ARmrHPHjXP0x9UJWASPFTOTqJo0mp7Epck2O9RFB0J9IjDdAewagw=
Loading