@@ -112,36 +112,33 @@ jobs:
112112 wait-on : http-get://localhost:7999/health
113113 wait-for : 5s
114114
115- # - name: Run gRPC tests
116- # run: |
117- # grpcurl -plaintext -proto ./old-faithful-proto/old-faithful-grpc.proto localhost:8999 list
118115 - name : Run HTTP tests
119116 run : |
120117
121118 getTxSig="3qEUUW9fKaZpECvJ87QfZMyVMQjR1GBKnuCDqJMCgxw1sCzrWSU6q5ydEiX1JEJPbQDGaNoxULxmCW6f4mAnNRo2"
122119 getBlock=1
123120 Address="Vote111111111111111111111111111111111111111"
124121
125- curl localhost:8897 -H "Content-Type: application/json" -d '
122+ curl localhost:7999 -H "Content-Type: application/json" -d '
126123 {"jsonrpc":"2.0","id":1, "method":"getVersion"}
127124 ' -s | jq -r .result.faithful
128125
129- curl localhost:8897 -H "Content-Type: application/json" -d '
126+ curl localhost:7999 -H "Content-Type: application/json" -d '
130127 {"jsonrpc":"2.0","id":1, "method":"getSlot"}
131128 ' -s | jq -r .result
132129
133- curl localhost:8897 -H "Content-Type: application/json" -d '
130+ curl localhost:7999 -H "Content-Type: application/json" -d '
134131 {"jsonrpc":"2.0","id":1, "method":"getBlock","params": [$getBlock]}
135132 ' -s | jq -r .result
136133
137- curl localhost:8897 -H "Content-Type: application/json" -d '
134+ curl localhost:7999 -H "Content-Type: application/json" -d '
138135 {"jsonrpc":"2.0","id":1, "method":"getBlockHeight"}
139136 ' -s | jq -r .result
140137
141- curl localhost:8897 -H "Content-Type: application/json" -d '
142- {"jsonrpc": "2.0", "id":1, "method": "getTransaction", params": ["$getTxSig"]}
143- ' -s | jq -r .result
138+ curl localhost:7999 -H "Content-Type: application/json" -d "
139+ {\ "jsonrpc\":\ "2.0\",\ "id\ ":1, \ "method\":\ "getTransaction\ ", \" params\ ": [\ "$getTxSig\ "]}
140+ " -s | jq -r .result
144141
145- curl localhost:8897 -H "Content-Type: application/json" -d '
146- {"jsonrpc": "2.0", "id":1, "method": "getSignaturesForAddress", params": ["$Address"]}
147- ' -s | jq -r .result
142+ curl localhost:7999 -H "Content-Type: application/json" -d "
143+ {\ "jsonrpc\":\ "2.0\",\ "id\ ":1, \ "method\":\ "getSignaturesForAddress\ ", \" params\ ": [\ "$Address\ "]}
144+ " -s | jq -r .result
0 commit comments