Skip to content

Commit

Permalink
chore:cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Lohachov Mykhailo <[email protected]>
  • Loading branch information
aoyako committed Nov 19, 2024
1 parent 5cfe4df commit c7fe1ce
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[profile.default]
retries = { backoff = "fixed", count = 2, delay = "3s" }
retries = { backoff = "fixed", count = 4, delay = "3s" }

[profile.ci]
fail-fast = false
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,11 @@ jobs:
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml down
- name: Test docker-compose.local.yml
run: |
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml up --wait || exit 1
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml up --wait || {
echo "docker-compose failed. Logs:";
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml logs --tail="all";
exit 1;
}
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml down
- name: Run docker-compose.yml containers
run: docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.yml up --wait || exit 1
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/iroha2-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,19 @@ jobs:
cache-to: type=gha,mode=max
- name: Test docker-compose.single.yml before pushing
run: |
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml up --wait || exit 1
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml up --wait || {
echo "docker-compose failed. Logs:";
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml logs --tail="all";
exit 1;
}
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.single.yml down
- name: Test docker-compose.local.yml before pushing
run: |
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml up --wait || exit 1
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml up --wait || {
echo "docker-compose failed. Logs:";
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml logs --tail="all";
exit 1;
}
docker compose -f ${{ env.DEFAULTS_DIR }}/docker-compose.local.yml down
- name: Test docker-compose.yml before pushing
run: |
Expand Down
3 changes: 0 additions & 3 deletions crates/iroha_test_network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,6 @@ impl NetworkBuilder {
InstructionBox::SetParameter(SetParameter::new(Parameter::Sumeragi(
SumeragiParameter::CommitTimeMs(commit_time.as_millis() as u64),
))),
InstructionBox::SetParameter(SetParameter::new(Parameter::Executor(
SmartContractParameter::Fuel(std::num::NonZero::new(u64::MAX).unwrap()),
))),
]
.into_iter()
.chain(self.extra_isi),
Expand Down

0 comments on commit c7fe1ce

Please sign in to comment.