Questions tagged [snapshot]

A snapshot is the state of something (e.g. a folder) at a specific point in time. In this case, snapshot means the current content of the test branch, this doesn't have to be the head revision

I'd like to extend the concept of snapshot. As you can see here the snapshot cares about running processes allocated in memory too.

1849 questions
15
votes
1 answer

How do I restore RDS snapshot into a cloudformation?

I want to restore an RDS instance from a snapshot and have it replace an instance in a cloudformation. Let's say I have one EC2 instance connected to one RDS instance in a cloud formation and I want to restore the RDS instance from a…
15
votes
3 answers

How does snapshotting interfere with parent/child relationships?

Summary Add a childVC to a parentVC Snapshot childVC.view It bugs. Why? Situation I've just encountered a strange behavior and I would like to know if it is normal or if it is a bug. I have a view controller childVC which is a child of parentVC.…
Colas
  • 3,473
  • 4
  • 29
  • 68
14
votes
2 answers

maven snapshot updates

I have a maven project with a snapshot dependency. How does maven know if the snapshot needs to be updated? Does it always update? Is it time based? A checksum based update? I know I can force an update but otherwise, how does it check? thanks, Jeff
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
12
votes
2 answers

EF4 POCO: Snapshot vs Self-tracking over WCF

Last year I developed a data access service for our project using Entity Framework (.NET3.5 of course) and using Julie Lerhman's book as a guide developed state tracking POCO objects. We use WCF and also have Silverlight 3 clients. We are moving to…
MrLane
  • 1,728
  • 22
  • 41
11
votes
2 answers

Error while Jest setup for Snapshots in " if (error?.stack) "

I'm going to create snapshot test, but got problems in the beginning. I got such error while running test: /Users/illia/WebstormProjects/TESTS/node_modules/jest/node_modules/jest-cli/build/cli/index.js:161 if (error?.stack) { …
illia_6655321
  • 171
  • 1
  • 9
11
votes
2 answers

Render SwiftUI View as an UIImage

I'm trying to render the SwiftUI View as an UIImage then let the user choose to save to the camera roll or send to others via email. As an example, I want to render a list of 50 rows into a UIImage. struct MyList: View { var body: some View { …
Anthony
  • 747
  • 1
  • 8
  • 23
11
votes
2 answers

I feel like most component testing with jest and enzyme are valueless, am I wrong?

I’m new to tests with React-Jest-Enzyme, but from all the info I collected about it it seems to me that most of the tests actually tests if the React library breaks, and not my actual business logic. I’ll give you some examples, and please correct…
ueeieiie
  • 1,412
  • 2
  • 15
  • 42
11
votes
1 answer

What's the difference between a snapshot, release candidate and releases?

Can some one tell me a strategy to manage my repositories based on this concepts (snapshot, release candidate and releases). For example should I have a repository for each type or should I manage release candidates as a snapshot or a release?
Carlos Nasser
  • 153
  • 1
  • 9
11
votes
2 answers

Node.snapshot(null, null) changes size of Scene

I have Scene which is set to the Scene of my primaryStage that - amongst other nodes - contains a VBox with a TableView and some buttons. When I take a snapshot on a row in the table using TableRow.snapshot(null, null), the size of the Scene is…
Jonatan Stenbacka
  • 1,824
  • 2
  • 23
  • 48
11
votes
1 answer

How do ZFS snapshots use space in practice?

Created a snapshot Deleted a huge file Delta is still 0 (snapshot not using anymore space) in zfs list for past three snapshots Should the delta or used space not be the size of the deleted file. I know ZFS is COW but I'm confused as to why I…
sjt003
  • 2,407
  • 5
  • 24
  • 39
11
votes
2 answers

Getting local variables from a stack frame on the JVM

Is there any way to get a map or other data structure of the local variables in the current scope in on the JVM without using a debugger? That is, to get the locals of the current stack frame? I know that there are stacktrace objects, but…
bobpoekert
  • 934
  • 1
  • 11
  • 26
11
votes
5 answers

How to setup automatic scheduled snapshots for each single AMI/EBS?

Does Amazon support any kind of automatic scheduled snapshots that can be configured for each single AMI/EBS? my goal is to have each AMI backup itself regularly without relying on external scripts and similar.
Faris Zacina
  • 14,056
  • 7
  • 62
  • 75
10
votes
4 answers

Alternatives to snapshot functionality, SQL Server Standard

For testing purposes I would like to reset a complete database to a certain state (data and structure). I would like to do this automated. Preferably a command line instruction before I start my tests. After some searching I discovered that SQL…
Sunib
  • 304
  • 2
  • 14
10
votes
2 answers

how to remove snapshot's consideration from coverage report generation in jest

See the demo app by doing npm run test:2 https://github.com/adamchenwei/jest-playground.git You will see the App.js is 100% covered, and it only really has a snapshot. Are there ways we can tell Jest to ignore snapshot as coverage evidence? Or its…
ey dee ey em
  • 7,991
  • 14
  • 65
  • 121
10
votes
2 answers

Is it possible to compile Latest Swift version on older Xcode?

For instance, I would play around Swift 4.2, but I don't want to use Xcode 10 beta version, I have Xcode 9.4.1. I wonder if there is any way do it, is it possible?
Ahmad F
  • 30,560
  • 17
  • 97
  • 143