Questions tagged [isolation]

258 questions
0
votes
1 answer

Using Microsoft.Fakes framework in Coded UI Tests

Am working on coded UI tests for my web application. Was trying to isolate repository method calls the same way I'm doing in unit and integration tests, i.e. using Microsoft.Fakes framework. But it seems for the UI tests Fakes are not working,…
0
votes
1 answer

Make isolated build or any shell command

Please, give me a hint to the simplest and lightest solution to isolate a linux shell script (usually ubuntu in case it has smth special) What I mean about isolation: 1. Filesystem - the most important - I want it cannot access any folders (read)…
Wile E.
  • 1,213
  • 1
  • 12
  • 26
0
votes
1 answer

Controller specs in isolation mode and render :update

I am using RSpec for writing my controller tests/specs. I faced the problem, that the following code gets rendered: render :update do |page| page['middle_content'].replace_html :partial => "admin/pages/show" end Isolation mode is the default,…
brainfck
  • 9,286
  • 7
  • 28
  • 29
0
votes
2 answers

PHP Script Execution and Static Variable Isolation

I have a fairly basic PHP question that I don't seem to be able to find an answer to. When a user visits a website that executes a PHP script, is that script run in isolation from all other running instances of the same script? For example, if I…
Harry Muscle
  • 2,247
  • 4
  • 38
  • 62
0
votes
2 answers

MySQL transactions and concurrent inserts

I've got this script made by someone and I looked over it and found something I'm not sure is safe: Inside a transaction there are 2 consecutive inserts, in 2 different tables, both with auto incremented primary keys. They are supposed to be the…
teomor
  • 144
  • 1
  • 8
0
votes
1 answer

how can i set isolation level with propel?

i use mysql, php on propel. i have used transaction row lock on mysql with native SQL query(e.g. SELECT FOR UPDATE). and now , I'm using propel to use ORM. but propel is not support row lock by propel transaction limitations . Here is MYSQL…
TaeL
  • 1,026
  • 9
  • 17
-1
votes
1 answer

ValueError: Number of features of the model must match the input. Model n_features is 10 and input n_features is 1

I am building an isolation forest using sklearn and python and am running into the error 'ValueError: Number of features of the model must match the input. Model n_features is 24 and input n_features is 1.' I am trying to predict 'pages' from…
user13676216
-1
votes
1 answer

start x11 session in schroot beside the standard x11 session

I recently started development with Python 3 and opencv. Since opencv has to compiled manually to get Python 3 support I created a separate development environment using schroot which is pretty helpful to try out building libs without messing up the…
uti.devel
  • 159
  • 3
  • 14
-1
votes
2 answers

Copy and Paste in WMware Fusion 8.5

I try to enable copy and paste between my host (Debian on Vmware Fusion) and my Macbook Pro. I've follwing some steps to activate this function in settings ''isolation'', then I reboot VMware to see but nothing change. Someone having this problem or…
-1
votes
1 answer

Best SQL DB Design for an overused table that causes Database locking

Problem: We have 3 TRANSACTION table with about 1.5 Million records each, and at the moment they don't have any relationship at all and are independent at each other. In our Web Portal, whenever we click on the "Transaction" Tab, our SQL query will…
Michael Co
  • 1
  • 1
  • 1
-1
votes
2 answers

Can I have a single instance of SharePoint for several subdomains?

I'm doing some research for a SharePoint setup where a secure SharePoint is used by several customers while keeping the databases separated. The different customers shouldn't be able to connect to each others databases, but should use the same…
-1
votes
1 answer

SQL Server isolation level, deadlocks across Load Ballancing

I know what is DeadLock and how database generated. My goal is to clarify this issue thoroughly to record. 1- How can i handle deaed locks in sql server? Is there any library or tool to handle theme? 2- In a real time scenario how can i force while…
Hamit YILDIRIM
  • 4,224
  • 1
  • 32
  • 35
-1
votes
1 answer

Isolated scope issue

I have almost no expertise when working with isolated scopes on angular but i found something for a project that i was using to check the strength of an username with an Angular directive. This is the directive: function usernameStrength() { …
DJ22T
  • 1,628
  • 3
  • 34
  • 66
-1
votes
2 answers

R: isolation of initial 10%

My data frame has a 10 columns and 100,000 rows, each row is an observation and the columns are data pertaining to each observation. One of the columns has the date of an observation in the julian day(ie feb 4= day 34). I want to reduce my data set…
John
  • 59
  • 1
  • 9
-1
votes
1 answer

Can lock yielding break query isolation?

Mongo docs talk about queries yielding locks to avoid blocking other operations. Will Mongo yield the lock from a read to a write that changes the read result? Say I've got docs {x:1}, {x:2}, {x:2}, {x:1} and I'm reading find({x:2}). Assume the…
hurrymaplelad
  • 26,645
  • 10
  • 56
  • 76
1 2 3
17
18