intermittent

IntelliJ: rerun intermittently failing random test with previos run's data

孤人 提交于 2020-01-05 08:09:32
问题 I have a JUnit test class with a number of tests. To increase scenario coverage some data in our tests is randomized, meaning it may take a range of values between individual test runs, for example: protected MonthlyAmountWithRemainder getMonetaryAmountMultipleOf(int multiplier) { BigDecimal monthly = randomBigDecimal(1000); BigDecimal multiply = new BigDecimal(multiplier); BigDecimal total = monthly.multiply(multiply); return new MonthlyAmountWithRemainder(total, monthly, ZERO); } Do you see

IntelliJ: rerun intermittently failing random test with previos run's data

丶灬走出姿态 提交于 2020-01-05 08:08:25
问题 I have a JUnit test class with a number of tests. To increase scenario coverage some data in our tests is randomized, meaning it may take a range of values between individual test runs, for example: protected MonthlyAmountWithRemainder getMonetaryAmountMultipleOf(int multiplier) { BigDecimal monthly = randomBigDecimal(1000); BigDecimal multiply = new BigDecimal(multiplier); BigDecimal total = monthly.multiply(multiply); return new MonthlyAmountWithRemainder(total, monthly, ZERO); } Do you see

Many responses from IIS are ending in OperationCanceledException resulting in 500 Internal server error

☆樱花仙子☆ 提交于 2019-12-10 16:47:00
问题 We have one problem in a Production environment but we don’t see any issues in the local DEV environments. Problem : I have one API - /api/GenerateAutoPdf/{Guid} (POST) Based on the response from this request we are opening a modal in the UI (Client). So if the response is 200 for the above POST request then the "Print modal" will open in the UI so that the user can select the generated PDF and then can print those generated PDF's from the modal. If the response is 500 then the print modal

Intermittent Crystal Reports error “The request could not be submitted for background processing.”

让人想犯罪 __ 提交于 2019-12-09 06:25:36
问题 We are running Crystal Reports on a Windows Server 2008 with .NET framework 3.5 SP1. I have seen many causes of the general error "The request could not be submitted for background processing." on other forums, however they tend to be persistent and repeatable affecting just a single report due to a specific formatting issue with a specific report. We are seeing this error with the below stack trace, intermittently. It affects multiple different reports we have. It affects one particular

HttpsURLConnection and intermittent connections

二次信任 提交于 2019-12-03 13:31:29
问题 I'm hoping someone could help me out with intermittent connections I'm getting using code with HttpsURLConnection. The code I'm using is below: HttpsURLConnection conn = (HttpsURLConnection) url.openConnection(); conn.setReadTimeout(10 * 1000); if conn.getResponseCode() != 200) { Log.v(TAG, "error code:" + conn.getResponseCode()); } The connection works the first time everytime when I use it to pull a json file. However, when I use the connection again to send a command, it always fails the

Intermittent Crystal Reports error “The request could not be submitted for background processing.”

与世无争的帅哥 提交于 2019-12-03 07:57:39
We are running Crystal Reports on a Windows Server 2008 with .NET framework 3.5 SP1. I have seen many causes of the general error "The request could not be submitted for background processing." on other forums, however they tend to be persistent and repeatable affecting just a single report due to a specific formatting issue with a specific report. We are seeing this error with the below stack trace, intermittently. It affects multiple different reports we have. It affects one particular report more frequently than other reports. Once a report is affected the same error will often appear in

Possible race condition creating Structs in ColdFusion

◇◆丶佛笑我妖孽 提交于 2019-12-01 21:31:37
问题 I've been seeing intermittent errors in a couple of systems I've been working on, when using the same methodology (not the same code) leading me to believe the problem may be linked to creating and using structs in the same request. I'm wondering if it's possible there's a race condition? The scenario is this: We're on an e-commerce system, looking at a product, or in some cases a list of products. The code in question is designed to return the images associated with each product, in a struct

Possible race condition creating Structs in ColdFusion

淺唱寂寞╮ 提交于 2019-12-01 18:38:16
I've been seeing intermittent errors in a couple of systems I've been working on, when using the same methodology (not the same code) leading me to believe the problem may be linked to creating and using structs in the same request. I'm wondering if it's possible there's a race condition? The scenario is this: We're on an e-commerce system, looking at a product, or in some cases a list of products. The code in question is designed to return the images associated with each product, in a struct that we can use for display of said images. At the beginning of the request, the code looks for

Add months of zero demand to zoo time series

為{幸葍}努か 提交于 2019-11-27 08:09:18
问题 I have some intermittent demand data that only includes lines where demand is present. I bring it in via read.csv, and my 2 columns are Date (as date) and Quantity (as integer). Then I convert it to a zoo series and combine the daily demand into monthly demand. My final output is a zoo series with the date being the first day of the month and the summed demand for that month. My problem is that this zoo series is missing the in between months that have zero demand and I need these to forecast