Skip to content

Commit

Permalink
nit fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
yash10019coder committed Sep 1, 2024
1 parent 031066c commit a7b6feb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tokenomics_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,11 @@ jobs:
kube_config: ${{ secrets[format('DEV{0}KC', env.RUNNER_NUMBER)] }}
teardown_condition: "TESTS_PASSED"
SUBGRAPH_API_URL: ${{ secrets.SUBGRAPH_API_URL }}
TENDERLY_VIRTUAL_TESTNET_ID: ""
TENDERLY_VIRTUAL_TESTNET_RPC_ID: ${{ env.TENDERLY_VIRTUAL_TESTNET_RPC_ID }}
graphnode_sc: ${{ secrets.GRAPHNODE_SC }}
graphnode_network: ${{ secrets.GRAPHNODE_NETWORK }}
graphnode_ethereum_node_url: https://rpc.tenderly.co/fork/""
svc_account_secret: ${{ secrets.SVC_ACCOUNT_SECRET }}
TENDERLY_VIRTUAL_TESTNET_RPC_ID: ''
zs3_client: ''
zs3_logsearchapi: ''
zs3_minio: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ func TestUpdateEnterpriseAllocation(testSetup *testing.T) {
require.Regexp(t, cancelAllocationRegex, strings.Join(output, "\n"), "cancel allcoation fail", strings.Join(output, "\n"))
})

t.RunWithTimeout("Extend duration cost calculation", 15*time.Minute, func(t *test.SystemTest) {
t.RunSequentiallyWithTimeout("Extend duration cost calculation", 15*time.Minute, func(t *test.SystemTest) {
utils.SetupWalletWithCustomTokens(t, configPath, 10)

amountTotalLockedToAlloc := int64(2e9) // 0.2ZCN
Expand Down Expand Up @@ -440,7 +440,7 @@ func TestUpdateEnterpriseAllocation(testSetup *testing.T) {
require.Regexp(t, cancelAllocationRegex, strings.Join(output, "\n"), "cancel allcoation fail", strings.Join(output, "\n"))
})

t.RunWithTimeout("Upgrade size cost calculation", 15*time.Minute, func(t *test.SystemTest) {
t.RunSequentiallyWithTimeout("Upgrade size cost calculation", 15*time.Minute, func(t *test.SystemTest) {
utils.SetupWalletWithCustomTokens(t, configPath, 10)

amountTotalLockedToAlloc := int64(2e9) // 0.2ZCN
Expand Down Expand Up @@ -510,7 +510,7 @@ func TestUpdateEnterpriseAllocation(testSetup *testing.T) {
require.Regexp(t, cancelAllocationRegex, strings.Join(output, "\n"), "cancel allcoation fail", strings.Join(output, "\n"))
})

t.RunWithTimeout("Add blobber cost calculation", 15*time.Minute, func(t *test.SystemTest) {
t.RunSequentiallyWithTimeout("Add blobber cost calculation", 15*time.Minute, func(t *test.SystemTest) {
utils.SetupWalletWithCustomTokens(t, configPath, 10)

amountTotalLockedToAlloc := int64(2e9) // 0.2ZCN
Expand Down Expand Up @@ -561,7 +561,7 @@ func TestUpdateEnterpriseAllocation(testSetup *testing.T) {
require.Regexp(t, cancelAllocationRegex, strings.Join(output, "\n"), "cancel allcoation fail", strings.Join(output, "\n"))
})

t.RunWithTimeout("Replace blobber cost calculation", 15*time.Minute, func(t *test.SystemTest) {
t.RunSequentiallyWithTimeout("Replace blobber cost calculation", 15*time.Minute, func(t *test.SystemTest) {
utils.SetupWalletWithCustomTokens(t, configPath, 10)

amountTotalLockedToAlloc := int64(2e9) // 0.2ZCN
Expand Down

0 comments on commit a7b6feb

Please sign in to comment.