Skip to content

Commit bb0c7e9

Browse files
authored
Merge pull request #1595 from multiversx/chain-simulator-error
Upgrade cs e2e elastic version
2 parents 7ac879c + 780ea47 commit bb0c7e9

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/chain-simulator-e2e-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
- name: Build and start chain simulator
2626
run: npm run start-chain-simulator
2727

28+
- name: Show logs if chain simulator fails to start
29+
if: failure()
30+
run: docker logs es-container && docker logs chainsimulator
31+
2832
- name: Wait for services to be ready
2933
run: |
3034
echo "Waiting for services to be healthy..."

src/test/chain-simulator/docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
ports:
44
- "9200:9200"
55
container_name: es-container
6-
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.1
6+
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.18
77
environment:
88
- "discovery.type=single-node"
99
- "xpack.security.enabled=false"

src/test/chain-simulator/websocket.subscriptions.cs-e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ describe('Websocket subscriptions e2e tests', () => {
207207
await axios.post(`${config.chainSimulatorUrl}/simulator/generate-blocks/10`);
208208

209209
log("Waiting for WS messages...");
210-
await new Promise(resolve => setTimeout(resolve, 20000));
210+
await new Promise(resolve => setTimeout(resolve, 30000));
211211

212212
} catch (e: any) {
213213
console.error("Error in beforeAll:", e.message);

0 commit comments

Comments
 (0)