Skip to content
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
1 change: 0 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ run-all-tests "ganacheUnitTest"
if [ "${TRAVIS_EVENT_TYPE}" == "cron" ]
then
run-simulation-tests "ganacheUnitTest"
run-all-tests "gethUnitTest"
fi

exit 0
2 changes: 1 addition & 1 deletion test/unit/UFragmentsPolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ contract('UFragmentsPolicy:Rebase', async function (accounts) {
await uFragmentsPolicy.setRebaseTimingParameters(60, 0, 60);
await chain.waitForSomeTime(60);
await uFragmentsPolicy.rebase();
await chain.waitForSomeTime(72);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this value matter at all? (60, 0, 60) means rebase is always possible

await chain.waitForSomeTime(59);
prevEpoch = await uFragmentsPolicy.epoch.call();
prevTime = await uFragmentsPolicy.lastRebaseTimestampSec.call();
await mockExternalData(INITIAL_RATE_60P_MORE, INITIAL_CPI, 1010);
Expand Down