Skip to content

Commit

Permalink
DNM: test #10795 against endo#2684 sham non-trapping
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jan 6, 2025
1 parent 4d00b72 commit 6e5fa1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { $ } from 'execa';

const waitForBootstrap = async () => {
const endpoint = 'localhost';
// eslint-disable-next-line no-constant-condition
while (true) {
const { stdout: json } = await $({
reject: false,
Expand Down Expand Up @@ -37,6 +38,7 @@ export const waitForBlock = async (n = 1) => {
const h0 = await waitForBootstrap();
let lastHeight = h0;
for (let i = 0; i < n; i += 1) {
// eslint-disable-next-line no-constant-condition
while (true) {
await new Promise(r => setTimeout(r, 1000));
const currentHeight = await waitForBootstrap();
Expand Down
2 changes: 1 addition & 1 deletion packages/SwingSet/test/metering/metered-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function meterMe(log2, explode = 'no') {
}
try {
if (explode === 'compute') {
// eslint-disable-next-line no-empty
// eslint-disable-next-line no-empty, no-constant-condition
while (true) {}
} else if (explode === 'stack') {
delveForeverIntoTheRecursiveDepths();
Expand Down
2 changes: 2 additions & 0 deletions packages/SwingSet/test/upgrade/upgrade.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ const initKernelForTest = async (t, bundleData, config, options = {}) => {
};
};

// Gratuitous change so I can create an otherwise identical PR

const testNullUpgrade = async (t, defaultManagerType) => {
const config = makeConfigFromPaths('../../tools/bootstrap-relay.js', {
defaultManagerType,
Expand Down

0 comments on commit 6e5fa1d

Please sign in to comment.