Development

Today’s anonymous submitter supplies us with a classic antipattern: padding via switch: string TransactionOrder = (string)dr[“TransactionOrder”].ToString().Trim(); switch (TransactionOrder.Length) { case…

I have for weeks now used the GitHub -hosted GitHub actions runner, but since my Playwright tests can take up to an hour to complete, i have started trying out self-hosted GitHub actions runner using a free tier VM from Microsoft Azure to save on the 3000 free minutes of GitHub actions time i get per month…
After running 3 tests out of 273 tests, the VM crashes after running at 100% CPU for a while (see screenshot).
My current playwright.config.ts results in 1 worker.
Has anyone else experience with this issue?
import { defineConfig } from ‘@playwright/test’;
import * as path from ‘path’;

export default defineConfig({
testDir: ‘./tests’,
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: 3,
workers: ‘50%’,
use: {
navigationTimeout: 30000,
actionTimeout: 15000,
viewport: { width: 1280, height: 720 },
trace: ‘off’,
browserName: ‘chromium’,
launchOptions: {
args: [‘–no-sandbox’, ‘–disable-setuid-sandbox’]
}
},
reporter: [
[‘html’, { outputFolder: path.resolve(__dirname, ‘playwright-report’), open: ‘never’ }],
[‘list’]
],
timeout: 120000
});

The DistroWatch news feed is brought to you by TUXEDO COMPUTERS. This week in DistroWatch Weekly:
Review: elementary OS 8.0
News: Debian testing its installer for Trixie, Pop!_OS continues to face delays, Ubuntu Studio upgrades not working, Absolute Linux discontinued
Tips and tricks: Filtering ads with a Pi-hole
Released in the past two weeks: postmarketOS 24.12, siduction 2024.1.0
Torrent corner: KDE neon, SparkyLinux
Opinion….

kupo is a terminal file browser written in Python. The post kupo – terminal file browser appeared first on LinuxLinks.…

Cooja is a network simulator that’s written in Java. The post Cooja – network simulator appeared first on LinuxLinks. Source:…

Laravel ERD automatically generates Entity-Relationship Diagrams from your Laravel models and displays them using Vuerd. Source: Read MoreÂ